Re: servlet directory doubt

On Tue, 12 Dec 2000, Shyam Sunder Kondaka wrote:

> Hi
>
> I have one doubt regarding the servlet directory in Jigsaw 2.1.1
> the default directory for the servlets is <JIGSAW_DIR>/Jigsaw/WWW/servlet.
> I placed a servlet in that directory, it is coming fine.
> http://localhost:8001/servlet/HelloWorld
> but I created one subdirectory in servlet directory called 'test'.
> Now I tried to access servlet as
> http://localhost:8001/servlet/test/HelloWorld.
> but I am getting error saying that page is not found.

If you want to have HelloWorld in /servlet/test/ directly, /servlet/test/
should also have a ServletDirectoryFrame instead of an HTTPFrame,
otherwise it won't work (like if CLASSPATH was not correctly set).
If you want all the subdirectories to be ServletDirectories, you should
configure that in the servlet-indexer.
Regards,

-- 
Yves Lafon - W3C / Jigsaw - XML Protocol - HTTP
"Baroula que barouleras, au tiéu toujou t'entourneras."

Received on Monday, 18 December 2000 08:56:06 UTC