首页上一页 1 下一页尾页 2 条记录 1/1页
不能下载《JSP项目开发全程实录》的Jar包
发表在JavaWeb图书答疑
2008-11-16
是否精华
是
否
版块置顶:
是
否
《JSP项目开发全程实录》书买回来很久了,没时间看,今天第一次把第8章的源码拿来调试,发现根本用不了,按说明把SQL Server 2000的JDBC驱动三个文件(从光盘中找出来的)放到lib中,在Tomcat的配置中把这个lib目录也加进去了,把从struts.apache.org上下载的struts1.2.7的lib下的所有文件也复制到了lib中,结果前后台首页可以显示,但不能登录进去,然后重新下载了struts1.3.8并把lib下的相关文件也换了,还是登录不进去,显示的错误为:
[font color=#FF0000]HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NullPointerException
com.wgh.core.ConnDB.executeQuery(ConnDB.java:58)
com.wgh.dao.ManagerDAO.checkManager(ManagerDAO.java:15)
com.wgh.action.Manager.managerLogin(Manager.java:44)
com.wgh.action.Manager.execute(Manager.java:22)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.[/font]
于是到此论坛来查找,一般不管什么问题,多数回答是要求下载你们网站上的驱动,于是去下载“http://221.8.65.77/admin/indexvod/jspxmjar.rar”,可是下载不了,不管直接用浏览器还是用迅雷,请问前面的错误是什么原因?并发一份该书的驱动到我邮箱(uuem@163.com)。
[font color=#FF0000]HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NullPointerException
com.wgh.core.ConnDB.executeQuery(ConnDB.java:58)
com.wgh.dao.ManagerDAO.checkManager(ManagerDAO.java:15)
com.wgh.action.Manager.managerLogin(Manager.java:44)
com.wgh.action.Manager.execute(Manager.java:22)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.[/font]
于是到此论坛来查找,一般不管什么问题,多数回答是要求下载你们网站上的驱动,于是去下载“http://221.8.65.77/admin/indexvod/jspxmjar.rar”,可是下载不了,不管直接用浏览器还是用迅雷,请问前面的错误是什么原因?并发一份该书的驱动到我邮箱(uuem@163.com)。