tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Stein <zo...@gmd-net.de>
Subject RE: How can I avoid the String ".../servlet/..." in URL?
Date Tue, 05 Sep 2000 16:12:18 GMT
Adapt the InvokerServlet mechanism from Tomcat/conf/web.xml
for your web-app context.

I heard about a security problem related to it.

-Wolfgang

> -----Original Message-----
> From: Nguyen, Hong Chau [mailto:Hong.Chau.Nguyen@opendata.de]
> 
> 
> 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