1  修改server.xml

   Context path="/***" docBase="XXX" reloadable="true"/>    //添加红色部分。

  上面这种是针对某个项目的,我们不可能每个项目都配置一个Context

 

2  修改context.xml

  

<Context reloadable="true">

    <!-- Default set of monitored resources -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
 
    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <!--
    <Manager pathname="" />
    -->

    </Context>

 

相关文章:

  • 2021-04-12
  • 2021-11-26
  • 2021-07-21
  • 2021-07-29
  • 2021-10-08
  • 2021-06-13
猜你喜欢
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2021-05-21
相关资源
相似解决方案