Topic: 好好运行的JSP出错!

  Print this page

1.好好运行的JSP出错! Copy to clipboard
Posted by: linkeca
Posted on: 2005-11-25 21:30

请高手指教这个出错是指哪里出了问题! 运行好好的,前天晚上突然不行了!
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: 0 >= 0
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
  org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
  org.apache.jsp.manage.login_jsp._jspService(login_jsp.java:70)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
  java.util.Vector.elementAt(Vector.java:427)
  org.apache.jsp.manage.main_jsp._jspService(main_jsp.java:149)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
  org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
  org.apache.jsp.manage.login_jsp._jspService(login_jsp.java:70)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  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.

--------------------------------------------------------------------------------

2.Re:好好运行的JSP出错! [Re: linkeca] Copy to clipboard
Posted by: fgt___73
Posted on: 2005-11-27 22:21

java.lang.ArrayIndexOutOfBoundsException,可能是数据越界了,比如访问了
a[-1]或a[a.length]之类的错误


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923