at org.apache.jsp.result_jsp._jspService(result_jsp.java:66)HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/14 23:56:18
at org.apache.jsp.result_jsp._jspService(result_jsp.java:66)HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException
xUkAW?HrTcP~bK"2InoM >>|P?T|Em}3$^ڦV of~;3ẀT̯sBB]xqTucG|Y>KqLMÀns:D14\0̠֬%Ծb `Z`Pa X<L*%`b*7PVr5QBB\5Y1rFk5”U`VC"ˆ%y.2`H߯8PI]AH@&'f(8e'o %^&x%~QJbҟ6u6%8ba$I6 r=Ywk+$9E/n܄ԟ -̮:hو+ `4೚N9V:pM1iv}mL`c u A?|i\,_rk'wQ;4hG+:nz]Ls aM ڂ \`Bdrd@ȊN]sak~=}}Bsx51;4͢9T JL3D=v[ILo5 e]J $: i;vϢWWkD7?nk4?o.͑i+dbiyG/,~pn)}zК]~|}i<^h.^L1YwS:߻DRI>0] UNJͮ]?zpP Ou w\ė

at org.apache.jsp.result_jsp._jspService(result_jsp.java:66)HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException
at org.apache.jsp.result_jsp._jspService(result_jsp.java:66)
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:An exception occurred processing JSP page /result.jsp at line 13
10:
11:
16:


Stacktrace:
\x05org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:521)
\x05org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
\x05org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
\x05org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
\x05javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
java.lang.NullPointerException
\x05org.apache.jsp.result_jsp._jspService(result_jsp.java:66)
\x05org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
\x05javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
\x05org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
\x05org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
\x05org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
\x05javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the
Apache Tomcat/6.0.35 logs.
九月 04,2013 9:26:10 上午 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE:Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
运行result.jsp报错,烦请大家帮忙看看具体是什么错误,

at org.apache.jsp.result_jsp._jspService(result_jsp.java:66)HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException
JSP页面第13行的for循环没有关闭.应该如下:

   for(int i=0; i < books.size(); i++){
        Book book = books.get(i);

   }