Look for this in the server.xml and change the /servlet/ part. Don't know if
it works though, but trying never killed anyone ;-))

Mvgr,
Martin

        <RequestInterceptor
            className="org.apache.tomcat.request.InvokerInterceptor"
            debug="0" prefix="/servlet/" />


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 9:44 PM
> To: [EMAIL PROTECTED]
> Subject: servlet-mapping tag
>
>
> 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