Name
<context-param>
Synopsis
Using the
<context-param>
element, you can define context
parameters that are available to all components of the application
(both servlets and JSP pages).
Syntax
<context-param> [<description [xml:lang="lang"]>description</description>]* <param-name>paramName</param-name> <param-value>paramValue</param-value> </context-param>
The <param-name>
subelement specifies the
name and the <param-value>
element the
value. Optionally, the <description>
element
can be used for a description that can be displayed by a deployment
tool:
<context-param> <param-name>jdbcURL</param-name> <param-value>jdbc:idb:/usr/local/db/mydb.prp</param-value> </context-param>
Get JavaServer Pages, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.