Skip to main content

[JIRA] Work started: (SERVLET_SPEC-10) Character encoding setting after ServletResponse#reset

  • From: "Shing Wai Chan (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Work started: (SERVLET_SPEC-10) Character encoding setting after ServletResponse#reset
  • Date: Mon, 9 Jan 2012 23:27:23 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/SERVLET_SPEC-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on SERVLET_SPEC-10 started by Shing Wai Chan.

> Character encoding setting after ServletResponse#reset
> ------------------------------------------------------
>
>                 Key: SERVLET_SPEC-10
>                 URL: http://java.net/jira/browse/SERVLET_SPEC-10
>             Project: servlet-spec
>          Issue Type: Bug
>            Reporter: Shing Wai Chan
>            Assignee: Shing Wai Chan
>
> From javadoc, ServletResponse#reset will clear any data that exists in the 
> buffer as well as the status code and headers. If the response has been 
> committed, this method throws an IllegalStateException. 
> Once the headers are cleared, so is the charset in Content-Type.
> If the getWriter() is already called, then according to javadoc of 
> ServletResponse#setCharacterEncoding, one cannot set the encoding. In other 
> words, only the default charset (in a given implementation) can used in 
> this case.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Work started: (SERVLET_SPEC-10) Character encoding setting after ServletResponse#reset

Shing Wai Chan (JIRA) 01/09/2012
 
 
Close
loading
Please Confirm
Close