In the JSP taglibs, the format tags are making calls to the Util class to
manage the Locale's and conform to the JSTL specification. However, they
are also setting the response Locale using the setLocale method on the
ServletResponse interface.
This violates the servlet specification because by the time these tags are
being execute the output stream and writer have already been used and bytes
might have been already flushed. This method is only to be called before
the Writer or ServletOutputStream have been retrieved.
This also makes it impossible to perform application specific Locale
handling.
Therefore, this code should be removed.
Nobody/Anonymous
None
None
Public
|
Date: 2008-08-20 15:00
|
|
Date: 2008-08-20 12:34
|