jsp浏览出现HTTP Status 500 问题 求解决 5
HTTPStatus500-typeExceptionreportmessagedescriptionTheserverencounteredaninternalerro...
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 /select.jsp at line 32
29: <%30: News news=new News();31: 32: List<NewsInfo> list=news.getList();33: 34: for(NewsInfo info:list) {
35: %>
root cause
java.sql.SQLException: Invalid value for getInt() - '个人日志' com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926) com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2646) com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2734) com.ch6.dal.News.getList(News.java:33) org.apache.jsp.select_jsp._jspService(select_jsp.java:88) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs. 展开
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 /select.jsp at line 32
29: <%30: News news=new News();31: 32: List<NewsInfo> list=news.getList();33: 34: for(NewsInfo info:list) {
35: %>
root cause
java.sql.SQLException: Invalid value for getInt() - '个人日志' com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926) com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2646) com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2734) com.ch6.dal.News.getList(News.java:33) org.apache.jsp.select_jsp._jspService(select_jsp.java:88) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs. 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询