Tarek, One possibility is that you have exceeded your jsp page output buffer and it got flushed prior to the exception. I think that WebSphere uses a default of 8k you could try setting a page directive in your jsp page to make it larger. eg: <%@ page language="java" buffer="32k" errorPage="/oops.jsp" %>
John -----Original Message----- From: Partha Ranjan Das [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 4:06 AM To: [EMAIL PROTECTED] Subject: Re: Forward or Include Hi, It is possible that you have included a page and the error has occurred in the included page. Remember this include is a include action. In which case, the buffered output of the parent page is dumped to the browser followed by the error page from the included page. Be sure on that. Regards, Partha -----Original Message----- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Re: Forward or Include 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 ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* ___________________________________________________________________________ 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 DISCLAIMER: The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized. If you are not the intended recipient please notify us immediately by returning the e-mail to the originator. ___________________________________________________________________________ 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