更改 Tomcat 'Directory Listing For' method
修改配置文件: %Catalina%/conf/web.xml
找到: <servlet-name>default<rvlet-name>
<servlet-class>org.apache.catalina.servlets.DefaultServlet<rvlet-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>
</srvlet>
default: true // display the Directory Listing for
false // disable