减小tomcat重启

减少tomcat重启在开发web 系统时,测试中经常修改源文件,过后要重新启动tomcat才能生效,很浪费时间.可以把

减少tomcat重启
在开发web 系统时,测试中经常修改源文件,过后要重新启动tomcat才能生效,很浪费时间.可以把项目添加到Context,就能实现热布署了.
如:
<Host name="www.test.com"  appBase=""
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="h:\workspace_j2ee\test\WebRoot" reloadable="false"/>
      </Host>


还有就是用javarebel工具,