访问URL 修改显示目录

发表于:2007-06-10来源:作者:点击数: 标签:

 

 

 

 

 

 

 

 

jboss3.2.3:

修改…/server/all(or default)/deploy/….sar/web.xml

jboss3.2.6/jboss4.0:

修改…/server/all(or default)/deploy/….sar/conf/web.xml

查看紫色斜体字符,设为false表示不列出目录。默认是设为true

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





原文转自:http://www.ltesting.net

评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)