1 Reply Latest reply on May 5, 2005 12:15 PM by Scott Stark

    Enabling directory scanning

    Kalyan Newbie

      Hi,

      Is there a way in which I can enable directory scanning in JBoss, so that whenever I type in a URL in the browser like: http://localhost:8080/config/files, I should be able to see what are the contents of this config/files directory?

      Thanks,
      Kalyan.

        • 1. Re: Enabling directory scanning
          Scott Stark Master

          The listings init-param in the jbossweb-tomcat55.sar/conf/web.xml

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