I could tell by your description that the page that had the error had a committed buffer.
comments below... Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm#StrutsMentoring -----Original Message----- From: Bubeník Miroslav [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 2:23 AM To: Struts Users Mailing List Subject: RE: problem with error page Thak. It works. ** It works and now you want to know why. Hey it works! :) But why is this required? ** JSP are document centric.... The entire documented goes into the jspService method as out.print()'s calls. Every time you have any line, any characters (except directives).... Therefore, it is easy to go over the buffer. As soon as you go over the buffer size, the buffer is committed, which means it goes to the browser. Where is the right limit of buffer size? *** The size that works. :) Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm#StrutsMentoring -----Original Message----- From: Richard Hightower [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 10:06 AM To: Struts Users Mailing List Subject: RE: problem with error page Increase the size of the output buffer for the JSP (the non error one). -----Original Message----- From: Bubeník Miroslav [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 1:59 AM To: [EMAIL PROTECTED] Subject: problem with error page Hi all, I have problem with error page in JSP. In each JSP I have directive <[EMAIL PROTECTED] errorPage="/spec/error.jsp" %>. In error.jsp I have <[EMAIL PROTECTED] isErrorPage="true" %>. It is OK, I think. Problem is when error occures in JSP (jsp1), e.g. when is resource bundle missing. Jsp1 is rendered until error occurs and then is flow forwarded to error.jsp. Final result is, that source of final page contains half of origin page and then complete error page, e.g.: <table cellpadding="0" cellspacing="0" id="tranTable"> <tr> <t ><html> <----- this is start of error page <head> <title>Application error</title> How can I obtain only error.jsp into response? Current state is not required becouse of graphical layout. Thanx miro --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]