In order to have a subdir in your servlets directory, you will have to put
all the classfiles in a package called:

test

then create a "test" dir in your servlet class dir and copy files in the
package there.

Then you can call teh servlet like this:

..../servlets/test/whatever.class

Dave

-----Original Message-----
From: Lily Y. Fu <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, April 29, 1999 12:48 PM
Subject: subdir under servlets directory


>I am new to the servlet world, I have a baisc question:
>
>I configured my Netscape Enterprise Webserver as such that
>all servlets (java class files) are put under
>the /servlets/ directory, so if I have a
>
>/servlets/HelloWorld.class
>I can access it from a brower at http://webserver.../servlet/HelloWorld
>
>However, I'd like to organize the servlet inthe servlets directory,
>to make subdirectories, so I had
>
>/servlets/test/HelloWorld.class
>
>when I tried to access it from
>http://webserver.../servlet/test/HelloWorld
>
>it gave me server error:   servlet test not found.
>
>Is there a way to solve this problem?
>
>Thanks,
>
>Lily
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to