type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException
org.apache.jsp.submit_jsp._jspService(submit_jsp.java:107)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
------解决方法--------------------------------------------------------
怎么没人回?
大概是程序溢出问题,具体的也不知道什么,用金山快译吧!~遇到过,像获取登陆文本框值没汉化,空处理什么的就会出现,具体意思要看做的是什么啦!
------解决方法--------------------------------------------------------
NullPointerException
空指针异常,调试一下吧
org.apache.jsp.submit_jsp._jspService(submit_jsp.java:107)
到Tomcat\work\Catalina\localhost\projectName\下面找到这个java文件,看看107行,看看可能错在哪来,也许能加快调试速度
------解决方法--------------------------------------------------------
报的是107行错,应该是这几行:
Connection con=mybean.getConnection( "bysj ");
Statement stmt1=con.createStatement();
Statement stmt2=con.createStatement();
String str= "select v8_Name from advanced_individual_apply where v8_Name= ' "+v8_Name+ " ' ";
ResultSet rs=stmt1.executeQuery(str);
------解决方法--------------------------------------------------------
Connection con=mybean.getConnection( "bysj ");//DB.DBConnManager中没有getConnection(str)方法,无法返回一个Connection