Class CharacterEncodingFilter | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- 19% translated in draft.
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
If you do not want to register an account, you can sign in with OpenID.
1
Class CharacterEncodingFilter | ||
setForceEncoding | ||
public void setForceEncoding(boolean forceEncoding) | public void setForceEncoding(boolean forceEncoding) | |
Set whether the configured encoding of this filter is supposed to override existing request and response encodings. | ||
Default is "false", i.e. do not modify the encoding if ServletRequest.getCharacterEncoding() returns a non-null value. Switch this to "true" to enforce the specified encoding in any case, applying it as default response encoding as well. | ||
Note that the response encoding will only be set on Servlet 2.4+ containers, since Servlet 2.3 did not provide a facility for setting a default response encoding. |
1
