码迷,mamicode.com
首页 > 编程语言 > 详细

30天轻松学习javaweb_Eclipse在修改了web.xml后将自动更新到tomcat服务器中

时间:2014-05-21 17:33:49      阅读:256      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   class   c   code   

context.xml中增加<WatchedResource>WEB-INF/web.xml</WatchedResource>,Eclipse在修改了web.xml后将自动更新到tomcat服务器中。

bubuko.com,布布扣
<?xml version=1.0 encoding=utf-8?>
<Context>
    <!-- Default set of monitored resources -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>

    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <!--
    <Manager pathname="" />
    -->
    <!-- Uncomment this to enable Comet connection tacking (provides events
         on session expiration as well as webapp lifecycle) -->
    <!--
    <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
    -->
</Context>
bubuko.com,布布扣

 

 

30天轻松学习javaweb_Eclipse在修改了web.xml后将自动更新到tomcat服务器中,布布扣,bubuko.com

30天轻松学习javaweb_Eclipse在修改了web.xml后将自动更新到tomcat服务器中

标签:des   style   blog   class   c   code   

原文地址:http://www.cnblogs.com/zhuawang/p/3740394.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!