This sounds like something I have encountered. The basic question is that how do you redirect to an error page if youa re writing to the output stream rather than going to another JSP, and have an exception ?
Regards, Derek Clarkson Global Applications Lonely Planet Publications ph: (03) 8379-8000 x8041 "It's not a bug - it's an undocumented feature!" -----Original Message----- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 November 2004 1:09 AM To: Tomcat Users List Subject: Buffering and redirection to the errorPage Greetings. I have a question with regards buffering of output and subsequent errorPage redirection. Maybe I am missing something. The default buffer size for a JSP page response is 8kb. If an exception is thrown AFTER 8kb has been written (and the initial chunks has been committed) then the redirection to the errorPage (if specified) does not occur. Does this sound right? I have solved this during debugging by increasing the buffer size to a larger kb amount on offending pages, then removing the setting once debugging has occurred. Is there anyway to enforce the redirection to the errorPage? Thanks. Carl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ______________________________________________________________________ This email, including attachments, is intended only for the addressee and may be confidential, privileged and subject to copyright. If you have received this email in error, please advise the sender and delete it. If you are not the intended recipient of this email, you must not use, copy or disclose its content to anyone. You must not copy or communicate to others content that is confidential or subject to copyright, unless you have the consent of the content owner.
