JSP错误:The server encountered an internal error () that prevented it from fulfilling this request.发生这样的错误有没有可能是我SQL安装时的问题,好如说我没有选择用户名sa和密码造成的.org.apache.jasper.JasperExcepti

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/17 05:27:19

JSP错误:The server encountered an internal error () that prevented it from fulfilling this request.
发生这样的错误有没有可能是我SQL安装时的问题,好如说我没有选择用户名sa和密码造成的.
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:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NullPointerException
com.tools.ConnDB.executeQuery(ConnDB.java:58)
org.apache.jsp.index_jsp._jspService(index_jsp.java:66)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
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.

如果 你的 代码 没有错误
如果是 SQL user 登入 失败
如果 你是 用 Sql Server 2005 ,请往下看
提示你 几点:
首先 打开 你的 Sql 服务器,用 Windows 身份 登入
1.右键 当前 Sql 服务器--> 属性 --> 选择 安全性
服务器 登入身份:SQL SERVER 和 Windows 身份登入
登入审核:无
2.展开 服务器 下面 也有一个 安全 行,展开 --> 登入名 展开 -->选择 sa 右键 属性
常规:密码 设置 sa ,这个 随意.把 “强制密码” 的 勾 去掉
状态:授予 启用
这样 就可以 用 sa 连接 了
//
如果 还是 不行?
回去 检查 你的 代码 ba !

JSP错误:The server encountered an internal error () that prevented it from fulfilling this request.发生这样的错误有没有可能是我SQL安装时的问题,好如说我没有选择用户名sa和密码造成的.org.apache.jasper.JasperExcepti HTTP Status 500 - 我刚开始学jsp 请问:HTTP Status 500 - 出现问题的页面提示如下:HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server 呜呜.还是不信啊,现在的错误是Cannot connect to license server The server (lmgrd) has not bee 多个jsp页面调用同个servlet时出现错误Cannot call sendRedirect() after the response has been committed 为什么开机出现the socket server is already running这个错误是什么引起的? Unable to compile class for JSP:cartBean cannot be resolved to a typeException reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException:Unable to HTTP Status 500 type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException:/test.jsp(1,1) Unterminated <%@ page tagorg.apache.jasp at org.apache.jsp.result_jsp._jspService(result_jsp.java:66)HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException HTTP Status 404 同一个JSP文件,在Eclipse中,上次关闭前还能运行,再打开运行出现404错误这是怎么回事?type Status reportmessage /zou/index.jspdescription The requested resource (/zou/index.jsp) is not available.把文件复制 用myeclipse创建JSP是出现Unable to createmyeclipse创建jsp出现Unable to create this part due to an internal error.Reason for the failure:Widget is disposed错误那一般安装myeclipse都还要安装什么啊 msxml3.dll 错误 '80072efd' A connection with the server could not be established 什么错误?msxml3.dll 错误 '80072efd' A connection with the server could not be established /inc-freehost-function/FreeHostFunction.asp,行 139 jsp报错 MySQL server version for the right syntax to use near 'null')' at line 1完整的报错是:com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve msxml3.dll 错误 '80072efd' A connection with the server could not be establishedmsxml3.dll 错误 '80072efd' A connection with the server could not be established /dv_dpo/Cls_DvApi.asp,行 111 数据库连接出现问题 your connection with the game server was lost.please reconnect.哪位英语达人能给翻译一下,是游戏错误 server closed the connection是什么意思 Please contact the server administrator, The requested resource (/mycard/sc/jsp/link/card.jsp) is not available怎么解决阿 No Java compiler was found to compile the generated source for the JSP.This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server,followed by a Tomcat restart.If using an alte