dev@javaserverfaces.java.net

Re: change to contract of ServletRequest.setCharacterEncoding()

From: Ed Burns <ed.burns_at_sun.com>
Date: Thu, 18 Aug 2005 13:17:50 -0700

>>>>> On Thu, 18 Aug 2005 13:14:02 -0700, Ed Burns <ed.burns_at_sun.com> said:

EB> I really think we should revert to the Servlet 2.4 behavior here and
EB> make this be a no-op if the request params have been accessed or a
EB> reader has been obtained.

EB> If you must have a case in which an ISE is thrown, limit it to only if
EB> getReader() was called.

An alternate solution would be to have calls made to
setCharacterEncoding() after the request has been accessed just be
no-ops, rather than throwing an ISE.

Ed

-- 
| ed.burns_at_sun.com  | {home: 407 869 9587, office: 408 884 9519 OR x31640}
| homepage:         | http://purl.oclc.org/NET/edburns/
| aim: edburns0sunw | iim: ed.burns_at_sun.com