You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Larry Isaacs <La...@sas.com> on 2001/10/24 00:51:09 UTC

RE: servlets path in tomcat 3.3

Servlet mappings in the web.xml file are intended for this purpose.
It should work in any version of Tomcat.  Check out the
<servlet> and <servlet-mapping> web.xml elements in the
Servlet 2.2 or 2.3 spec.
 
If you can provide some more detail about what isn't working
in Tomcat 3.3, I'll try to help.
 
Cheers,
Larry
 
 
From: mperreno 
Subject:  servlets path in tomcat 3.3
Date:  Tue, 23 Oct 2001 22:21:15 +0200

Is it possible to use non-standard paths for servlet i.e. use map
anything
after the context name to servlets:
www.foobar.com/foo/SnoopServlet
instead of
www.foobar.com/foo/servlet/SnoopServlet

I managed to do it with tomcat 3.2 but I can't do it with tomcat 3.3

thanks

--
mathieu perrenoud [iis]