tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yin Tse <y...@valicert.com>
Subject servlet url mapping problems
Date Tue, 21 Nov 2000 20:14:31 GMT
Hi,
Has anyone come across this problem :

My url mapping isn't working. Of course if I use a url mapping which is
similar to my servlet name, it will work , but as soon as I change the url
mappping to something else, it doesn't work.
eg 
<servlet>
   <servlet-name>
       myServlet
   </servlet-name>
    <servlet-class>
      SomeFoolServlet
   </servlet-class>
</servlet>
<servlet-mapping>
   <servlet-name>myServlet</servlet-name>
   <url-pattern>/myGod</url-pattern>
</servlet-mapping>

http://locahost/foo/servlet/myServlet  will work
but http://locahost/foo/servlet/myGod won't work. 
Has anyone experienced similar problems ?

Thanks. 

Mime
View raw message