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.
The following table describes subelements for the context-param element.
Table 1–32 context-param Subelements
Element |
Required |
Description |
---|---|---|
only one |
Contains a context parameter name. |
|
only one |
Contains a context parameter value. |
|
zero or one |
Contains a text description of this element. |
The following table describes attributes for the context-param element.
Table 1–33 context-param Attributes
Attribute |
Default |
Description |
---|---|---|
false |
(optional) If true, specifies that if the same context parameter occurs in the deployment descriptor it is ignored. |