qys2010 发表于 2013-1-26 15:57:12

如何让tomcat自动指向自己工作空间

如何让tomcat自动指向自己工作空间,不用重复部署。

修改C:\Tomcat 5.5\conf 目录下的server.xml文件

在<host></host>目录里,加入以下代码:
<Context path="/yinsweb" docBase="E:\sss\yinsweb\yinsweb" autoDeploy="true"
reloadable="true" debug="0" privileged="true"/>


具体见附件
页: [1]
查看完整版本: 如何让tomcat自动指向自己工作空间