tomcat中路径的问题
我安装好Tomcat以后,设置了环境变量TOMCAT_HOME C:\Program Files\Apache Software Foundation\Tomcat 5.0 将我的Web站点发布到Webapps目录下,启动Tomcat服务.在IE中输入
http://localhost:8080/myweb.不会弹出我的主页(index.jsp).但是,当我把myweb文件夹放到jsp-examples这个目录下的时候。在IE中输入http://localhost:8080/jsp-examples/myweb。我的主页就出来了。请问:这是为什么?是不是我还有什么东西没有设置?
错误信息如下:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP