灯火互联
管理员
管理员
  • 注册日期2011-07-27
  • 发帖数41778
  • QQ
  • 火币41290枚
  • 粉丝1086
  • 关注100
  • 终身成就奖
  • 最爱沙发
  • 忠实会员
  • 灌水天才奖
  • 贴图大师奖
  • 原创先锋奖
  • 特殊贡献奖
  • 宣传大使奖
  • 优秀斑竹奖
  • 社区明星
阅读:1762回复:0

tomcat虚拟空间设置

楼主#
更多 发布于:2012-08-27 15:02


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

返回顶部