jsr340-experts@servlet-spec.java.net

[jsr340-experts] Re: SERVLET_SPEC-10: Character encoding setting after ServletResponse#reset

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Tue, 10 Jan 2012 10:01:36 -0800

On 1/10/12 1:07 AM, Remy Maucherat wrote:
> On Tue, 2012-01-10 at 00:14 -0800, Shing Wai Chan wrote:
>> (A) and (B) seems to less complicated as there are no stale objects,
>> but cannot switch the use of writer and outputstream.
>> Any comments?
> If we do update the reset() behavior, maybe we should do C to make it
> worthwhile and intuitive. IMO, A and B are not worth it (and could be
> more complex than C to implement since there's a lot of "ifs" in the
> behavior).
>
(A), (B) and (C) are not hard to implement.
The main question is whether stale objects are ok.
If this is not a concern, then (C) is a simpler to describe.

Shing Wai Chan