tomcat虚拟空间设置

来源:岁月联盟 编辑:exp 时间:2012-06-20

设置短地址
<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