Oracle GlassFish Server 3.0.1 Application Deployment Guide

Attributes

The following table describes attributes for the locale-charset-map element.

Table C–78 locale-charset-map Attributes

Attribute 

Default 

Description 

locale

none 

Specifies the locale name. 

agent

none 

(optional) Specifies the type of client that interacts with the GlassFish Server. For a given locale, different agents can have different preferred character encodings. The value of this attribute must exactly match the value of the user-agent HTTP request header sent by the client. See Table C–79 for more information.

charset

none 

Specifies the character encoding to which the locale maps.