开启TOMCAT6.0目录浏览功能

开启TOMCAT6.0目录浏览功能
 [code]<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>
[/code]
/con/web.xml
[code]
 <init-param>
            <param-name>listings</param-name>
            <param-value>true</param-value>
        </init-param>

[/code]
吧FALSE改为TRUE

你可能感兴趣的:(开启TOMCAT6.0目录浏览功能)