tomcat 显示目录文件列表

conf/web.xml中,listings改为true,重启

http://liusu.iteye.com/blog/794613

<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>

上一篇:[luogu2594 ZJOI2009]染色游戏(博弈论)


下一篇:php 与 memcache 笔记