1。我也是在 <tomcat_home>/conf/server.xml 中加了下面一段:
<Context path="/jsp" docBase="e:/jsp" debug="0" reloadable="true"/>
2。在jsp目录下建立Web-inf
3。别忘了把web.xml 文件加到Web-inf目录下,可以把Root下面的copy过来
运行[url]http://[/url]<ip or hostname>/jsp/ ,就可以了!
1。我也是在 <tomcat_home>/conf/server.xml 中加了下面一段:
<Context path="/jsp" docBase="e:/jsp" debug="0" reloadable="true"/>
2。在jsp目录下建立Web-inf
3。别忘了把web.xml 文件加到Web-inf目录下,可以把Root下面的copy过来
运行[url]http://[/url]<ip or hostname>/jsp/ ,就可以了!