Sun GlassFish Enterprise Server v3 Domain File Format Reference

context-param

Configures a context parameter for a web module at deployment time. This is an alternative to setting a context-param in the web.xml file. To override a context-param in the web.xml file, set the ignore-descriptor-item attribute to true.

Superelements

web-module-config

Subelements

The following table describes subelements for the context-param element.

Table 1–32 context-param Subelements

Element 

Required 

Description 

param-name

only one 

Contains a context parameter name. 

param-value

only one 

Contains a context parameter value. 

description

zero or one 

Contains a text description of this element. 

Attributes

The following table describes attributes for the context-param element.

Table 1–33 context-param Attributes

Attribute 

Default 

Description 

ignore-descriptor-item

false

(optional) If true, specifies that if the same context parameter occurs in the deployment descriptor it is ignored.