goback add

tomcat虚拟空间设置

2247 点击·0 回帖
灯火互联
楼主


设置短地址
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<Context path="" reloadable="true" docBase="E:\share\Tool\LeapFTP3.0.1.46\LoadFile\MAP3\webapps\map"></Context>
可以免去后面的项目

后面的map.jsp要省去的话需要在web.xml中
<welcome-file-list>
<welcome-file>map.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>

作者:sunyh

喜欢0 评分0