In my web.xml file I've been trying to turn off directory listings by
setting the listing parameter to 0 or false, but it it doesn't do anything.
I can always see the contents of the directory in my web app.  My web app
does have it's own web.xml file but it doesn't specify anything unusual,
definately not a default servlet.

What I've been trying to use is:

  <servlet>
    <servlet-name>default</servlet-name>
 
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
    <init-param>
      <param-name>debug</param-name>
      <param-value>0</param-value>
    </init-param>
    <init-param>
      <param-name>listings</param-name>
      <param-value>0</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>


I'm using Tomcat 4.0.1 ...  Is this something fixed in 4.0.2?

Thanks...

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to