Sun GlassFish Enterprise Server 2.1 Application Deployment Guide

Attributes

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

Table A–61 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 application 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 A–62 for more information.

charset

none 

Specifies the character encoding to which the locale maps.