Sun Java System Web Server 7.0 Update 6 Developer's Guide to Java Web Applications

parameter-encoding Element

This element specifies a hidden field or default character set that determines the character encoding the web container uses to decode parameters for request.getParameter calls when the character set is not set in the request's Content-Type.

For encodings you can use, see

http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html.

Attributes

The following table describes attributes for the parameter-encoding element.

Table A–46 parameter-encoding Attributes

Attribute 

Default Value  

Description  

form-hint-field

none 

The value of the hidden field in the form that specifies the parameter encoding. 

default-charset

none 

This value is used for parameter encoding if neither request.setCharacterEncoding() is called nor form-hint-field is found in the request.

Subelements

none

Attributes

none