甜思思 发表于 2017-1-30 13:45:32

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

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

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

在<host></host>目录里,加入以下代码:
<Context path="http://img.xue163.com/yinsweb" docBase="E:\sss\yinsweb\yinsweb" autoDeploy="true"
reloadable="true" debug="0" privileged="true"/>
页: [1]
查看完整版本: 让tomcat自动指向自己工作空间