I need to modify my servlets url's so they don't include tomcat's default
'servlet' directory.  For example,

One servlet is in:
     c:\tomcat\webapps\dir1\WEB-INF\classes
therefore the url is:
     http://localhost/dir1/servlet/ServletName

I need the urls to not have the 'servlet' in it
(http://localhost/dir1/ServletName). I was told previously to add a
<servlet-mapping> to my web.xml file. Do I do this in %TOMCAT_HOME%
\conf\web.xml since I want it to apply to all servlets?

I have tried this and can't get it to work. Can somebody give me an
example?

Many Thanks,

Jason E. Brawner

Reply via email to