发新话题
打印

tomcat中无法运行Jsp

tomcat4.0配置好后,浏览http://localhost:8080/正常,servlet例子也正常,但jsp文件无法运行,提示错误为:A Servlet Exception Has Occurred:
org.apache.jasper.JasperException:
Unable to compile class for JSPnullD:\tomcat\work\localhost\examples\jsp\num\_0002fjsp_0002fnum_0002fnumguess_jsp.java:156: Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to java.lang.Exception.
           if (pageContext != null) pageContext.handlePageException(t);
请高手指点
                                                                    

      

TOP

编译出错,检查一下jdk的环境      

TOP

pageContext.handlePageException(t);
其中的t是什么?
错误是说参数类型不正确。      

TOP

发新话题