I don't think it could have anything to do with the client. If it did, I would get either one of the two responses, not the output from the first page up to the point where the error occurs followed by the output from the error page.
Does any one have an idea if this is the standard behavior or not?! Thanks, Tarek Nabil >Date: Mon, 16 Dec 2002 12:11:38 -0500 >From: Eric Noriega <[EMAIL PROTECTED]> >Subject: Re: Forward or Include > Are you sure that the problem is from the server side, and not a client side cache issue? >Tarek M. Nabil wrote: >>I have a problem with the "errorPage". Whenever an error occurs, and the error page >is displayed, I find that the buffered output from the JSP where the error occurred >is displayed before the output from the error page. I investigated the issue, and I >quote this from the JSP 1.1 specification (which is the version supported by the >application server I'm using).. >> >>In section 2.2.2 >> >><quote> >> >>However, any uncaught exceptions thrown from the body of the JSP page implementation >>class result in the <em>forwarding</em> of the client request and uncaught exception >to the >>errorPage URL specified by the offending JSP page (or the implementation default >>behavior, if none is specified). >> >></quote> >> >>The means that the action is a "forward" not an "include" which means that the >buffer should actually be cleared not committed. I don't understand why this is >happening, though. I'm using WebSphere 3.5.6 in the Servlet 2.2/JSP 1.1 support mode. >> >>Thanks in advance for all your help, >> >>Tarek M. Nabil >> >>___________________________________________________________________________ >>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >>of the message "signoff SERVLET-INTEREST". >> >>Archives: http://archives.java.sun.com/archives/servlet-interest.html >>Resources: http://java.sun.com/products/servlet/external-resources.html >>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html >> ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html