W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 2000

Re: servlet directory doubt

From: Yves Lafon <ylafon@w3.org>
Date: Mon, 18 Dec 2000 14:56:01 +0100 (MET)
To: Shyam Sunder Kondaka <sskondaka@sierraatlantic.com>
cc: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.31.0012181435380.27368-100000@tarantula.inria.fr>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT