You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jason Majors <wh...@yahoo.com> on 2001/02/14 18:43:17 UTC

servlets vs servlet in URL match

I'm trying to setup my tomcat (3.2.1) to display
servlets with the url host/servlets/ServletName. The
servlets are in a directory in the class path and come
up just fine using the url host/servlet/ServletName. I
tried changing the web.xml in $TOMCAT_HOME/conf and in
$TOMCAT_HOME/webapps/ROOT/WEB-INF/ to have:
<servlet-mapping>
    <servlet-name>
        invoker
    </servlet-name>
    <url-pattern>
        /servlets/*
    </url-pattern>
</servlet-mapping>
placed right before the similar section for
/servlet/*, but neither one works.

Any help on this would be greatly appreciated.
Thanks,
Jason

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/