iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)

Using NonStop Servlets for JavaServer Pages
(NSJSP)
iTP Secure WebServer System Administrator’s Guide523346-002
9-45
Changing Your web.xml File
Changing Your web.xml File
Definitions of session timeout values. This is an element within the session-
config element. The specified timeout value must be expressed as an integer
number of minutes. (Note that it was previously seconds, not minutes.)
An example of the XML syntax is as follows:
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
Definitions of initial parameters for servlets. The init-param element contains a
name/value pair as the initialization parameter of the servlet. An example of the
XML syntax is as follows.
<servlet>
<servlet-name>
your alias servlet name
</servlet-name>
<servlet-class>
your servlet name
</servlet-class>
<init-param>
<param-name>name1</param-name>
<param-value>value1</param-value>
<param-name>name2</param-name>
<param-value>value2</param-value>
</init-param>
</servlet>
Note that the servlet-name is an alias of the servlet-class name. The alias allows
you to change the name of the class without having to make changes to URL
references to the servlet in the application. If you have no need of this feature, use
the same name in both places.
Changing Your iTP_server.xml File
This is a new file, there are no changes as a result of migration. For details of usage
see iTP_server.xml on page 9-21.