tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Lucia" <timlu...@yahoo.com>
Subject RE: Default servlet
Date Mon, 08 May 2006 15:29:21 GMT
Look in conf/web.xml -- it is commented out by default.  It is widely
considered evil to use the default servlet.  At a minimum, it poses security
risks.

Tim


-----Original Message-----
From: Dmitry S. Kravchenko [mailto:dims@vsetech.ru] 
Sent: Monday, May 08, 2006 11:23 AM
To: users@tomcat.apache.org
Subject: Default servlet

Hi!

How can I configure existance of default servlet? 

This servlet, as I can see, allows me to use following mappings

  <servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/res/*</url-pattern>
  </servlet-mapping>
  <servlet-mapping>

See, that I don't want to write this servlet by my own, it should already
exist somewhere in the Tomcat.

Thnx.

Dims.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message