跪求,大侠指点!!!包含JDBC的WEB项目并且可以在本地实现数据库链接但是部署到服务器上就连不上了为什么?
包含JDBC的web项目在本地正常运行但是一上传到服务器上就连不上报如下错误,
HTTP Status 500 - executeSqlResultSetnull
type Exception report
message executeSqlResultSetnull
description The server encountered an internal error that prevented it from fulfilling this request.
exception
java.lang.RuntimeException: executeSqlResultSetnull
com.ota.utils.SqlHelper.executeQuery3(SqlHelper.java:147)
com.ota.service.LoginService.checkAdmin(LoginService.java:22)
com.ota.controller.LoginUI.doGet(LoginUI.java:29)
com.ota.controller.LoginUI.doPost(LoginUI.java:40)
javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
网页的加载也没有问题,就是数据库链接就完了。求求各位大侠帮帮忙,给点意见。谢谢!!!