Administer > System Configuration Parameters > Enter a parameter in the web.xml file

Enter a parameter in the web.xml file

Applies to User Roles:

System Administrator

You can store web parameters in the web.xml file. When you do this, make sure that you use valid XML code. Specifically, parameter tags must be children of servlet tags.

To enter a parameter in the web.xml file, follow these steps:

  1. Open the web.xml file. By default, the file is located on the web application server in the ..sc/WEB-INF/web.xml directory.
  2. Type the parameter information. For example, the following XML code sets value of the serverHost parameter to "localhost":
    <servlet>
      <init-param>
        <param-name>serverHost</param-name>
        <param-value>localhost</param-value>
      </init-param>
    <servlet>