Context (WAR)

You use the Context tab to declare the web application's servlet context initialization parameters. These are accessed by:

ServletContext context = getServletContext() to get context
context.get;InitParameterNames() to get an enumeration of init parameters
config.getInitParameter(<parmName>) to get the value of a specific init parameter

Field/Column

Explanation

Name

Enter the parameter's name.

Value

Enter the parameter's value.

Description

Enter a description of the parameter.

Add button

Click to add a row to the Context table for you to specify the web application's servlet context initialization parameters.

Remove button

Click to remove the selected row from the Context table.

See also
  Using the Deployment Descriptors for Servlets/JSPs


Legal Notices