首页上一页 1 下一页尾页 1 条记录 1/1页
java数据库系统开发案例精选中销售管理系统
发表在Java图书答疑
2009-03-18
是否精华
是
否
版块置顶:
是
否
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.tool.JDBConnection.executeQuery(JDBConnection.java:58)
com.dao.ManagerDao.employeeCheck(ManagerDao.java:122)
com.webtier.ManagerServlet.checkManager(ManagerServlet.java:110)
com.webtier.ManagerServlet.doGet(ManagerServlet.java:34)
com.webtier.ManagerServlet.doPost(ManagerServlet.java:310)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
登陆时出现错误,我用的是sql2000个人版,url和drivename都正确,连接数据的用户名和密码都没有问题,我用一个检测程序试过,这个检测程序能够连接上数据库,而这个却不行,请版主详细帮我分析原因,谢谢!
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.tool.JDBConnection.executeQuery(JDBConnection.java:58)
com.dao.ManagerDao.employeeCheck(ManagerDao.java:122)
com.webtier.ManagerServlet.checkManager(ManagerServlet.java:110)
com.webtier.ManagerServlet.doGet(ManagerServlet.java:34)
com.webtier.ManagerServlet.doPost(ManagerServlet.java:310)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
登陆时出现错误,我用的是sql2000个人版,url和drivename都正确,连接数据的用户名和密码都没有问题,我用一个检测程序试过,这个检测程序能够连接上数据库,而这个却不行,请版主详细帮我分析原因,谢谢!