JSP网络开发实例 企业门户网站运行问题
发表在JavaWeb图书答疑 2009-03-11
是否精华
版块置顶:
按说明安装了 运行结果是
Apache Tomcat/6.0.18 - Error reportHTTP 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 /index.jsp at line 11

8: <body onLoad="clockon(bgclock)">
9: <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
10:   <tr align="center">
11:     <td height="165" colspan="4"><jsp:include page="top.jsp"/></td>
12:   </tr>
13:   <tr>
14:     <td width="11" align="left" valign="top">&#160;</td>


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
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)
root cause 
org.apache.jasper.JasperException: An exception occurred processing JSP page /top.jsp at line 36

33: </script>
34: <%BasetableFactory bf=BasetableFactory.getInstance();%>
35: <table id="cpdd" class='box'  style='display:none' onMouseOver="popmenu(this)" onMouseOut="popmenu(this)"  align="center" > 
36:   <%Collection cpdd=bf.ListSsort("");if(cpdd!=null&&cpdd.size()>0){    Iterator it=cpdd.iterator();    while(it.hasNext()){        Ssort s=(Ssort)it.next();
37: %> 
38:   <tr> 
39:     <td onMouseOver="pu(event)" onMouseOut="po(event)" onClick="javascript:window.location.href='list_softsort.jsp?sid=<%=s.getSid()%>';" style="cursor:hand; color:#000000"><%=s.getName()%></td> 


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
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)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
org.apache.jsp.index_jsp._jspService(index_jsp.java:64)
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)
root cause 
java.lang.NullPointerException
com.dao.Dbssort.Select(Dbssort.java:111)
com.dao.DbBasetableFactory.ListSsort(DbBasetableFactory.java:143)
com.BasetableFactoryProxy.ListSsort(BasetableFactoryProxy.java:105)
org.apache.jsp.top_jsp._jspService(top_jsp.java:94)
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)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
org.apache.jsp.index_jsp._jspService(index_jsp.java:64)
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.



Apache Tomcat/6.0.18
分享到:
精彩评论 1
9527
学分:0 LV1
2009-03-12
沙发
Dbssort.java第111行,一个对象空指针导常。没找查到数据。
首页上一页 1 下一页尾页 1 条记录 1/1页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照