Hello,
LUN wrote:
> I can run servlet /examples/servlet/ directory
> but
> cannot run servlet in /examples/servlet/xxx/
> where xxx is a sub-directory.
>
> I think it is a problem about servlet zone.
> Do anyone have an idea?
>
the servlet zone is a virtual directory where you can reach the delared
servlets in your webapps and the classes accessibles under WEB-INF/lib
and WEB-INF/classes of the example webapplication. So, i think (i
haven't tested it) that you cannot create subdirectories because the
servlets are referenced exclusively with their alias (who can perhaps -i
don't know, test it and feedback- contain a directories) in the web.xml
or by their fully qualified classname (ie fr.inria.hello) if they aren't
declared in web.xml.
Remember that the class are stocked in a tree of directories
(WEB-INF/classes/fr/inria/hello.class). I think it's not very clean to
make subdirectories in the concerned directories because it's disturbing
the tradiationnal organisation of Java classes).
Read the mailing list archives for more info.
Regards,
--
[EMAIL PROTECTED]
INRIA - 2004 route des lucioles - BP 93 Tel: (33/0) 4 92 38 50 41
06902 SOPHIA-ANTIPOLIS cedex (France) Fax: (33/0) 4 92 38 76 02
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]