level 1
孑←
楼主
eclipse 4
tomcat 7
eclipse配置tomcat的时候serverLocations选择wtpwebapps
eclipse的server.xml中host标签配置是这样的:
<Host appBase="webapps"。。。
而实际的部署目录是:
。。。tmp0\wtpwebapps
不知道是怎么关联上的。
如果我要新增一个域名
<Host appBase="wtpwebapps" autoDeploy="true" name="http://www.testb.com" unpackWARs="true">
这个时候如果用webapps会报错,只能改为wtpwebapps
而使用eclipse自己的配置还有一个好处就是把项目直接复制到tmp0\wtpwebapps目录中并不会加载,
只有配置了
<Context docBase="webtomcat" path="/tomcat"。。。
才会加载。
所以请问,webaps是如何指向..tmp0\wtpwebapps的?
2016年02月18日 06点02分
1
tomcat 7
eclipse配置tomcat的时候serverLocations选择wtpwebapps
eclipse的server.xml中host标签配置是这样的:
<Host appBase="webapps"。。。
而实际的部署目录是:
。。。tmp0\wtpwebapps
不知道是怎么关联上的。
如果我要新增一个域名
<Host appBase="wtpwebapps" autoDeploy="true" name="http://www.testb.com" unpackWARs="true">
这个时候如果用webapps会报错,只能改为wtpwebapps
而使用eclipse自己的配置还有一个好处就是把项目直接复制到tmp0\wtpwebapps目录中并不会加载,
只有配置了
<Context docBase="webtomcat" path="/tomcat"。。。
才会加载。
所以请问,webaps是如何指向..tmp0\wtpwebapps的?