tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McGrath" <>
Subject Servlet Mapping
Date Mon, 27 Nov 2000 10:17:03 GMT

I have several servlets which have been developed using a Apache JServe
setup. I'm moving over to Tomcat with Apache and which to use the packaged
servets that I already have. My problem is as follows:

The servlet:

works fine when called from Apache as

I have another servlet which is packaged under a sub directory eg


I also want to access this servlet from apache in this format:

I don't want to include the absolute path to the servlet otherwise this
would be a complete rewrite for my system. I have tried adding the following
under /usr/local/tomcat/webapps/ROOT/WEB-INF/web.xml:


This is an attempt to get http://hostname/servlets/TestServlet calling the
TestServlet located under the sub directory of test.

Any help would be grately appreciated.

Best wishes


View raw message