jsp问题呀, 下面的提示错误,,,怎么看呀, 怎么理解呀 ??
descriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequ...
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: null
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.NumberFormatException: null
java.lang.Integer.parseInt(Integer.java:436)
java.lang.Integer.parseInt(Integer.java:518)
org.apache.jsp.test2.notice3_jsp._jspService(notice3_jsp.java:58)
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) 展开
exception
org.apache.jasper.JasperException: null
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.NumberFormatException: null
java.lang.Integer.parseInt(Integer.java:436)
java.lang.Integer.parseInt(Integer.java:518)
org.apache.jsp.test2.notice3_jsp._jspService(notice3_jsp.java:58)
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) 展开
展开全部
jsp基本原理是把你编写的页面转换成一个Java Class,然后他的做法和Java的运行原理一样。这个转换完的Java文件放在
${Tomcat Home}\work\Catalina\localhost\${webname}\org\apache\jsp
下面。这里的目录结构和你的JSP文件的目录结构是一样的。如果你是在ROOT里面放置测试页面,则webname='_',对应文件名为<jsp filename>_jsp.java
你按照错误提示对应的行号(这里提示为notice3_jsp.java)去找就行了。
${Tomcat Home}\work\Catalina\localhost\${webname}\org\apache\jsp
下面。这里的目录结构和你的JSP文件的目录结构是一样的。如果你是在ROOT里面放置测试页面,则webname='_',对应文件名为<jsp filename>_jsp.java
你按照错误提示对应的行号(这里提示为notice3_jsp.java)去找就行了。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询