How to Set the Values for locale-charset-map in sun-web.xml (Doc ID 1018651.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version: 7.1 and later   [Release: 7.1 and later ]
All Platforms

Goal

Description
In the sun-web.xml, you can affect the way the request parameter is interpreted based on some charset. For example, you will see the following segment in sun-web.xml
<locale-charset-info>
<locale-charset-map charset="xxxx" agent="xxxx" locale="xxxx">
</locale-charset-map>
</locale-charset-info>

This document explains how the mapping is done and what values the administrator is required to set to enable the request parameter that needs to be decoded in the appropriate charset.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms