tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nguyen, Hong Chau" <Hong.Chau.Ngu...@opendata.de>
Subject How can I avoid the String ".../servlet/..." in URL?
Date Tue, 05 Sep 2000 15:59:46 GMT
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







Mime
View raw message