关于jsp编程的问题

来源:百度知道 编辑:UC知道 时间:2024/05/12 15:22:27
错误提示如下,请教如何解决 是什么问题

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: /index.jsp(16,0) File "/topMain.jsp" not found
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:90)
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:372)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(Pars

应该是你的index.jsp引用了topMain.jsp,而topMain.jsp不存在或者路径错误.注意JSP区分大小写的

org.apache.jasper.JasperException: /index.jsp(16,0) File "/topMain.jsp" not found

这个意思是你的index.jsp在16行引用的topMain.jsp没有找到,仔细查一下/topMain.jsp的路径是不是有问题呢?