我自己这样改了一下
<Host name="localhost" debug="0" appBase="webapps/myjsp"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">然后访问http://localhost:8080/myjsp/index.jsp出错,给出错误报告HTTP Status 404 - /xinrei/index.jsp--------------------------------------------------------------------------------type Status reportmessage /xinrei/index.jspdescription The requested resource (/xinrei/index.jsp) is not available.
--------------------------------------------------------------------------------Apache Tomcat/5.0.28
<Host name="localhost" debug="0" appBase="webapps/myjsp"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">然后访问http://localhost:8080/myjsp/index.jsp出错,给出错误报告HTTP Status 404 - /xinrei/index.jsp--------------------------------------------------------------------------------type Status reportmessage /xinrei/index.jspdescription The requested resource (/xinrei/index.jsp) is not available.
--------------------------------------------------------------------------------Apache Tomcat/5.0.28
http://localhost:8080/index.jsp当然是tomcat自己的那个jsp了。
你的应该是:http://localhost:8080/myjsp/index.jsp