Sometimes when a JSP page errors out it doesn’t redirect to the
specified error page but displays the error page inline. In that case
the page buffer has most likely been filled and because data has
already been sent to the browser and the server cannot send a redirect
command.

In these cases increase your JSP page buffer size with the page directive‘s buffer attribute. The default is 8kb. Increase it to something that your page will most likely not fill.

<%@ page buffer="50kb" %>

Popularity: unranked [?]


SPEAK / ADD YOUR COMMENT
Comments are moderated.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Return to Top

JSP Buffering and Error Pages

FRESH / LATEST POSTS

FEATURED / BEST OF Michael Glenn’s Blog

My Road to HD
My Top 10 iPhone Apps
Rogers un-connected calls?
Flash 10 Still a Poor Performer on Macs and Linux
Please Explain AGO Policies
2.2 Podcasts - Right Order but Download Flaw
Behold the Power of the Twitter
The Developer Hat
Chest Pain at Toronto General
iPhone App: Need for Speed Underground

FOLLOW / YOUR COMMENTS

TAG / CLOUD

ago flash foursquare hohoto hospital iPhone iphone applications ipod Mac mobile osx photography podcasts rogers twitter video wireless