当前位置: 技术问答>java相关
紧急求救,这是什么错误?
来源: 互联网 发布时间:2015-01-06
本文导语: 我用的是tomcat,操作系统为98,我在测试jsp网站后台解决方案的一个程序时,总是出错,请大虾帮忙,不胜感激! 错误描述: Error: 500 Location: /jsph/c11/register_action.jsp Internal Servlet Error: javax.servlet.ServletException at org.apache.jasper...
我用的是tomcat,操作系统为98,我在测试jsp网站后台解决方案的一个程序时,总是出错,请大虾帮忙,不胜感激!
错误描述:
Error: 500
Location: /jsph/c11/register_action.jsp
Internal Servlet Error:
javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
at c_00031_00031._0002fc_00031_00031_0002fregister_0005faction_0002ejspregister_0005faction_jsp_4._jspService(_0002fc_00031_00031_0002fregister_0005faction_0002ejspregister_0005faction_jsp_4.java:131)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.NullPointerException
at c_00031_00031._0002fc_00031_00031_0002fregister_0005faction_0002ejspregister_0005faction_jsp_4._jspService(_0002fc_00031_00031_0002fregister_0005faction_0002ejspregister_0005faction_jsp_4.java:91)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
程序(register.html):
user register
用户注册
用户名 ***
密码 ***
确认密码 ***
性别 男女
住址
联系电话
e-mail
学历
bachelor
postdoctor
doctor
master
colleger
highschooler
primaryschooler
职业
manager
engineer
teacher
student
enterpriser
programmer
civilian
lawyer
other
密码遗失提示问题 ***
提示问题答案 ***
注:带***为必填项
程序(register_action.jsp):
user register
错误描述:
Error: 500
Location: /jsph/c11/register_action.jsp
Internal Servlet Error:
javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
at c_00031_00031._0002fc_00031_00031_0002fregister_0005faction_0002ejspregister_0005faction_jsp_4._jspService(_0002fc_00031_00031_0002fregister_0005faction_0002ejspregister_0005faction_jsp_4.java:131)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.NullPointerException
at c_00031_00031._0002fc_00031_00031_0002fregister_0005faction_0002ejspregister_0005faction_jsp_4._jspService(_0002fc_00031_00031_0002fregister_0005faction_0002ejspregister_0005faction_jsp_4.java:91)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
程序(register.html):
user register
用户注册
用户名 ***
密码 ***
确认密码 ***
性别 男女
住址
联系电话
学历
bachelor
postdoctor
doctor
master
colleger
highschooler
primaryschooler
职业
manager
engineer
teacher
student
enterpriser
programmer
civilian
lawyer
other
密码遗失提示问题 ***
提示问题答案 ***
注:带***为必填项
程序(register_action.jsp):
user register