tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 55608] fmt:bundle tag unnecessarily buffers body content
Date Wed, 02 Oct 2013 00:24:10 GMT

--- Comment #4 from Dan Armstrong <> ---
(In reply to Christopher Schultz from comment #3)
> One could argue that <fmt:bundle> might actually be used to intentionally
> buffer content a bit, just in case an error occurs. Once the response is
> committed, errors occurring during rendering are usually catastrophic to the
> page display.
> How about making this a "JSP property" that is disabled by default (i.e. the
> current behavior is the default, but easily changed)?

One can argue anything, but that doesn't make it a valid argument.  This is
precisely what the buffer page attribute is for.  fmt:bundle implemented with
an unbounded buffer is not "buffering a little".

For example:

<%@ page language="java" buffer="512kb" autoFlush="true" pageEncoding="UTF-8"
session="false" %>

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message