Re: change to contract of ServletRequest.setCharacterEncoding()

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

>>>>> On Thu, 18 Aug 2005 13:14:02 -0700, Ed Burns <> 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.


|  | {home: 407 869 9587, office: 408 884 9519 OR x31640}
| homepage:         |
| aim: edburns0sunw | iim: