Sun Java System Application Server 9.1 Application Deployment Guide

locale-charset-info

Deprecated. For backward compatibility only. Use the parameter-encoding subelement of sun-web-app instead. Specifies information about the application’s internationalization settings.

Superelements

sun-web-app (sun-web.xml)

Subelements

The following table describes subelements for the locale-charset-info element.

Table A–58 locale-charset-info Subelements

Element 

Required 

Description 

locale-charset-map

one or more 

Maps a locale and an agent to a character encoding. Provided for backward compatibility. Used only for request processing, and only if no parameter-encoding is defined.

parameter-encoding

zero or one 

Determines the default request character encoding and how the web container decodes parameters from forms according to a hidden field value. 

Attributes

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

Table A–59 locale-charset-info Attributes

Attribute 

Default 

Description 

default-locale

none 

Although a value is required, the value is ignored. Use the default-charset attribute of the parameter-encoding element.