tomcat conf
tomcat-5.5.17\conf\Catalina\localhost\host-manager.xml寻寻觅觅,pm.xmlcopy到这个目录其实就可以用了。那么,去掉这个文件也就不会加载这个应用了,哈哈
<!--
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>
关于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.
页:
[1]