You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Nguyen, Hong Chau" <Ho...@opendata.de> on 2000/09/05 17:59:46 UTC
How can I avoid the String ".../servlet/..." in URL?
I have added following to my web.xml file:
<servlet>
<servlet-name>ServletName</servlet-name>
<servlet-class>ServletClass</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ServletName</servlet-name>
<url-pattern>/ServletName</url-pattern>
</servlet-mapping>
It works, but I don't want to make it for every servlet in my web-app.
Is there any other methods to do it at once for the whole servlets in my
context?
Thanks in advance