[jboss-user] [Beginners Corner] - Re: Directory Listing

anders.hedstrom do-not-reply at jboss.com
Mon Sep 4 05:26:00 EDT 2006


Set the servlet param listings to false in this file:

$JBOSS_HOME/server/<your_conf>/deploy/jbossweb-tomcat55.sar/conf/web.xml

setting to change:

  | <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>false</param-value>
  |       </init-param>
  |       <load-on-startup>1</load-on-startup>
  |    </servlet>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969185#3969185

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969185



More information about the jboss-user mailing list