Topic: 请问TOMCAT如何配置成IIS一样的文件目录浏览? |
Print this page |
1.请问TOMCAT如何配置成IIS一样的文件目录浏览? | Copy to clipboard |
Posted by: keel Posted on: 2005-04-15 10:50 请问TOMCAT如何配置成IIS一样的文件目录浏览? |
2.Re:请问TOMCAT如何配置成IIS一样的文件目录浏览? [Re: keel] | Copy to clipboard |
Posted by: keel Posted on: 2005-04-15 11:10 tomcat默认是允许目录浏览的,通常不希望有这个功能,而要禁止目录浏览,可以通过配置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>false</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> |
3.Re:请问TOMCAT如何配置成IIS一样的文件目录浏览? [Re: keel] | Copy to clipboard |
Posted by: keel Posted on: 2005-04-15 11:12 自己搞定了 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |