java.lang.IllegalStateException occurs in jsp page
843836Dec 22 2003 — edited Aug 10 2010Hi,
I'm having some trouble with my error page, and was wondering if anyone else has run into the problem and has a workaround?
I have an error page set up to deal with uncaught exceptions,and it seems to work fine for most uncaught JPS exceptions.Except: When the exception is thrown after a lot of HTML
(dozens of lines of HTML), the servlet engine will not forward to the error page, but complains
java.lang.IllegalStateException
here is the error log file:
Internal error: exception thrown from the servlet service function (uri=/geselfserv/MyProfile.jsp): java.lang.IllegalStateException, stack: java.lang.IllegalStateException
at com.netscape.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatcher.java:68)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:355)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:379)
at jsps.geselfserv._MyProfile_jsp._jspService(_MyProfile_jsp.java:777)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:533)
i increased the buffer till 1024Kb but problem is same, it is giving the same exception.
I searched the same problem in forum bt i didn't get any satisfacory answer.
Pls help me out frm this problem.I would really appreciate for ur response.
Regards
Sachi