Re: Running Servlets in subdirectories
Thursday, June 20, 2002 11:35 PM
accessing servlet resources can be solved different. One
solution is to reference by package structure. For example
you have a class file named MyServlet in package
com.test.miguel you can access this servlet from another
servlet by dispatching (/servlet/com.test.miguel.MyServlet).
Secondly, towards your actual problem you have to make
an entry in web.xml (alias) to access the subdirectory.
the web.xml-file is to be found in the WEB-INF directory.
for your example:
hope this will help