1.eclipse->项目->右键->Properties->Web Project Setting->context
root 设置为"/"或者""
2.tomcat5.0/6.0:<Host></Host>间加了一句<Context path=""
docBase="/fts" debug="0" reloadable="true"/>
3.tomcat7.0 <Host></Host>间加了一句<Context path="/" docBase="fts"
debug="0" reloadable="true"/>
时间: 2024-11-17 23:29:18