tomcat conf

tomcat-5.5.17\conf\Catalina\localhost\host-manager.xml
寻寻觅觅,pm.xmlcopy到这个目录其实就可以用了。那么,去掉这个文件也就不会加载这个应用了,哈哈

[code]
<!--

Context configuration file for the Tomcat Host Manager Web App

$Id: host-manager.xml 303743 2005-03-11 22:39:26Z remm $

-->


<Context docBase="${catalina.home}/server/webapps/host-manager"
privileged="true" antiResourceLocking="false" antiJARLocking="false">

</Context>
[/code]

关于Context,这里有个参考
http://tomcat.apache.org/tomcat-5.0-doc/config/context.html

Context其实就是一个WEB应用,web应用发布的方式有两种:一种就是war包,另外是包含同样结构的目录结构。一般会定义docBase以及path。在5.x之后,Context就已经不推荐直接放在server.xml中了,而是在META-INF/context.xml或者在\conf\Catalina\localhost地方:)

Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT recommended to place <Context> elements directly in the server.xml file. Instead, put them in the META-INF/context.xml directory of your WAR file or the conf directory as described above.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值