首页上一页 1 下一页尾页 1 条记录 1/1页
《Java项目开发实例自学手册》中的博客系统问题
发表在JavaWeb图书答疑
2009-04-16
是否精华
是
否
版块置顶:
是
否
在打开http://localhost:8080/Webole/back_FriendSelect.jsp等网页时出现以下错误
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 /back_FriendSelect.jsp at line 24
21: </head>
22:
23:
24: <%
25: String currPage = request.getParameter("currPage");
26: Gethibernate geth = new Gethibernate();
27: int iCurrPage = 1 ;
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.wy.tool.Chinese.doFilter(Chinese.java:17)
root cause
java.lang.NullPointerException
com.Hibernate.util.Gethibernate.findFriendCount(Gethibernate.java:866)
org.apache.jsp.back_005fFriendSelect_jsp._jspService(back_005fFriendSelect_jsp.java:86)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.wy.tool.Chinese.doFilter(Chinese.java:17)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.13[img src=null/img]
好象只有个别与数据库无关的网页能打开,如http://localhost:8080/Webole/backMainPage.jsp
打开首页http://localhost:8080/Webole/时,页面空白。
请问怎样解决?谢谢
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 /back_FriendSelect.jsp at line 24
21: </head>
22:
23:
24: <%
25: String currPage = request.getParameter("currPage");
26: Gethibernate geth = new Gethibernate();
27: int iCurrPage = 1 ;
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.wy.tool.Chinese.doFilter(Chinese.java:17)
root cause
java.lang.NullPointerException
com.Hibernate.util.Gethibernate.findFriendCount(Gethibernate.java:866)
org.apache.jsp.back_005fFriendSelect_jsp._jspService(back_005fFriendSelect_jsp.java:86)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.wy.tool.Chinese.doFilter(Chinese.java:17)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.13[img src=null/img]
好象只有个别与数据库无关的网页能打开,如http://localhost:8080/Webole/backMainPage.jsp
打开首页http://localhost:8080/Webole/时,页面空白。
请问怎样解决?谢谢