首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

减小tomcat重启

2012-08-31 
减少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工具,

热点排行