[FIELDSET][LEGEND]引自:2楼[/LEGEND]
非常抱歉,这本书确实有。当时用的是TOMCAT5.0,不过改用6.0也不应该出现什么问题,你可以把具体的操作步骤跟错误信息发上来吗?
[/FIELDSET]
回复:由于不能上传附件,有些截图无法贴出来,只能描述下了:
文件中数据库库文件有11个表,用Mysql-Front 装载进去,发现除了a,aa,bb,test几个表外,其余的点击都是出现:
sql 执行错误 #1034. 从数据库响应:
Incorporated key file for table ' 表名'; try to repair it
这是否是数据库文件出了问题?
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: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
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)
root cause
java.lang.NullPointerException
beans.Condb.executeQuery(Condb.java:22)
org.apache.jsp.index_jsp._jspService(index_jsp.java:223)
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)
这估计是数据库的连接出现了问题!
请指导!