tomcat 在META-INF 文件夹中添加context.xml,使项目自动应用更新文件

时间:2023-01-19 18:11:18

无意中看到的一些资料,留下来做备份,在Meta-inf文件夹下新建context.xml。 

<Context path="/FUWeb"  docBase="D:/apache-tomcat-6.0.29/webapps/FUWeb"  debug="0" privileged="true" reloadable="true"/>

 

还有:

 

<Context>

    <!-- Default set of monitored resources -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>WEB-INF/dwr.xml</WatchedResource>
   <WatchedResource>C:/Tomcat6.0/webapps/Proj_logistics/WEB-INF/classes/struts.xml</WatchedResource>

</Context>