> From: David Parks [mailto:davidpark...@yahoo.com]
> Subject: Tomcat stops loading page half way through on runtime
> exception
> 
> But I notice that Tomcat only loads half the page and 
> stops roughly around the exception point

Tomcat doesn't load pages, it sends them; the browser loads pages.

> I'd much prefer a more consistent response (at this time, 
> just the standard exception page).

What is "the standard exception page"?  If you're referring to the standard 
error page Tomcat generates, it can't send it if your webapp has already 
committed all or a portion of the response (via flush(), for example).  You 
shouldn't be doing that until you know you're going to be able to complete the 
processing of the request.

> Is there a way to ensure the exception page is displayed 
> on exceptions (or in the future to ensure that the defined
> pretty error page is displayed)?

Fix your webapp to not send partial responses.  Nothing Tomcat can do if you've 
already committed the response; there's no way to recall what you've already 
sent.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to