錯誤原因是什麼?菜鳥問題。請大家解答 謝謝
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 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.lang.NullPointerException org.apache.jsp.TMP1icqpeyzi0_jsp._jspService(TMP1icqpeyzi0_jsp.java:75)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.
--------------------------------------------
Apache Tomcat/5.0.19
------解决方案--------------------java.lang.
NullPointerException 不是很清楚了吗?
把你这个TMP1icqpeyzi.jsp的源代码贴出来。帮你看。
------解决方案--------------------空指针异常 有什么没有加载完全贴代码吧。
------解决方案--------------------在Tomcat 5.0\work\Catalina\localhost\项目名\org.apache.jsp\目录下 找到TMP1icqpeyzi0_jsp.java第75行 就可以看到具体的错误了
------解决方案--------------------java.lang.NullPointerException
空指针 我估计在这
String GuanLiNo = request.getParameter( "GuanLiNo ");
String Projectname = request.getParameter( "Projectname ");
String PartNo = request.getParameter( "PartNo ");
你做一个
if(GuanLiNo == null)
{
GuanLiNo = " ";
}
那两个你自己做
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html