tomcat 不重启Tomcat而部署servlet
类似resin
实现方式:
编辑Tomcat的server.xml
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
在host节点内加入
<!-- auto append ,then reload -->
<Context path="/myapp" docBase="myapp" debug="99" reloadable="true" />
"myapp" 为要部署的应用程序,通常在webapps目录下