修改文件:C:\jakarta-tomcat-5.0.28\conf\server.xml
插入位置:
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="/myapp" docBase="C:/jakarta-tomcat-5.0.28/webapps/myapp" debug="0" reloadable="true"/>
参考URL
http://hi.baidu.com/net_plz/blog/item/966ee6dc25f908a5cc116635.html
http://blog.163.com/jianhuren2005@126/blog/static/1715817120071015115620650/