Show TOC Start of Content Area

Procedure documentation Defining Servlet Context Parameters  Locate the document in its SAP Library structure

Use

If you need to make a variable or other parameter available to several components within your Web application, you can set it as a context parameter. This way each component can access this parameter runtime using the ServletContext object.

Procedure

To set a context parameter, proceed as follows on the web.xml screen:

...

       1.      Choose the Context screen.

       2.      To add a new row to the list of context parameters, choose Add.

       3.      Enter the parameter name, value and, optionally, a description of your parameter in the Name, Value and Description fields.

 

End of Content Area