版本: Apache Tomcat/6.0.35
配置文件目录: Apache Software Foundation\Tomcat 6.0\conf\web.xml
2.修改直接控制Tomcat是允许显示目录结构和文件列表的属性值
listings –true 允许列表显示
-false 关闭列表显示.
3.重启Tomcat,配置效果图:
参考:
1.http://www.blogjava.net/liuwentao253/archive/2007/12/01/164512.html
2.http://hi.baidu.com/fovsean/blog/item/97d077ea39249ad8d439c938.html