You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/10/02 02:24:10 UTC
[Bug 55608] fmt:bundle tag unnecessarily buffers body content
https://issues.apache.org/bugzilla/show_bug.cgi?id=55608
--- Comment #4 from Dan Armstrong <su...@aoindustries.com> ---
(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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org