Hi,

I browse the archive, but I found just a part of the answer.

I use Tomcat standalone (the app will run under tomcat 3.x and 4.x). I want
to prevent access to directories, but I just want to configure this in the
web.xml file of my app, nowhere else !
As u see below, the web.xml is quite simple !

<web-app>

<servlet>
     <servlet-name>WindexServer</servlet-name>
 <servlet-class>windexserver.servlet.WindexServlet</servlet-class>
 <init-param>
  <param-name>PropertiesFileName</param-name>

<param-value>D:/Appli/tomcat/webapps/WindexServer/WS_Manager/internal/config
.ini</param-value>
 </init-param>
</servlet>

<servlet-mapping>
 <servlet-name>WindexServer</servlet-name>
 <url-pattern>/WindexServer</url-pattern>
</servlet-mapping>

</web-app>

If u have any idea :-))


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to