A context-param element defines a configuration parameter that is available to all servlets and filters within the context. Each context-param element contains a param-name element and a param-value element. For example, the element below defines a message parameter accessible to every servlet and filter in the context.
<context-param> <param-name>message</param-name> <param-value>25% off all hats!</param-value> </context-param>
Each parameter in the context must have a distinct name. If the context contains more than one context-param with the same param-name, the container will present one param-value and ignore the others.
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.