系统网页出现这报错:HTTP Status 500,是访问JSP页面哪个地方出错了或者别的?

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.StringIndexOutOfBoundsException: String index out of range: -1
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(String.java:1938)
java.lang.String.substring(String.java:1905)
com.fredck.FCKeditor.FCKeditor.retrieveBrowserVersion(FCKeditor.java:263)
com.fredck.FCKeditor.FCKeditor.isCompatible(FCKeditor.java:251)
com.fredck.FCKeditor.FCKeditor.create(FCKeditor.java:292)
com.fredck.FCKeditor.tags.FCKeditorTag.doAfterBody(FCKeditorTag.java:689)
org.apache.jsp.admin.news.edit_jsp._jspx_meth_FCK_005feditor_005f0(edit_jsp.java:322)
org.apache.jsp.admin.news.edit_jsp._jspService(edit_jsp.java:246)
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:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
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.13 logs.

Apache Tomcat/6.0.13

org.apache.jasper.JasperException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 明显的数组越界,仔细看看。

Web服务器出现异常了。跟JSP没有关系。看看webapp是否部署不当。

500是代码错误,去com.fredck.FCKeditor.FCKeditor.retrieveBrowserVersion(FCKeditor.java:263)
com.fredck.FCKeditor.FCKeditor.isCompatible(FCKeditor.java:251)
com.fredck.FCKeditor.FCKeditor.create(FCKeditor.java:292)这三个地方找找吧

org.apache.jasper.JasperException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
字符串参数没有传

调试一下,参数传递有问题,没有接收到任何数据

在HTTP协议中,HTTP Status 500 是服务器内部错误。

从错误信息中可以看到,你要连接的WEB服务器,是基于免费软件Apache Tomcat/5.0.28 来实现的,是JAVA形式的WEB服务器。

错误的直接现象是,JSP有错。没法编译,或是某种原因环境被破坏,使的JAVA的class找不到。
根本原因,可有以下可能性:
1。网站的JSP有错。
2。在表示的页面中,你输入了系统预想之外的内容,使的系统无法对应而崩溃。

服务器部署有问题,程序有问题一般400

后台代码有问题,断点进去看看

500是代码有错误,上边的错误写的很明显啊。。你代码中有一个数组越界了

是ie版本问题,.FCKeditor包太旧了导致的

是ie版本问题,.FCKeditor包太旧了导致的