Context-initialization parameters enable a servlet to perform during the initialization various one-time activities that impact the entire application.
- Open
web.xmland switch to the Assembly Descriptor tab. - In the
Context Parameters
pane, click
.
- Type the name, value, and description of the new context parameter in the relevant text boxes.
- To remove a parameter, select the relevant row and click
.