2008-05-07

tomcat热部署

为了免去项目修改就要重新启动TOMCAT,可以采用热部署的方式,
打开server.xml文件:
<Host
appBase="webapps"
name="localhost">
<Context
path="/xvote">
</Context>
</Host>
在Host结点中加入:
<!-- auto append ,then reload -->
<Context path="/wib" docBase="wib" debug="99" reloadable="true" />
"wib" 为要部署的应用程序,通常在webapps目录下
评论
发表评论

您还没有登录,请登录后发表评论

zhaol123
搜索本博客
博客分类
最近加入圈子
存档
最新评论