NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator’s Guide—674372-005
3-28
The Installation-Specific servlet.config File
browser as long as the browser is open. If sessions are configured to be persistent
and to expire with short durations, then setting this property to true might improve
performance.
When setting this value to true, it is important that the date and time on the
browser workstation match or is very close to that of the NonStop server where
NSJSP is running. If the time are greatly out of synchronization, the cookie in the
browser may expire before the corresponding session expires.
Example 3-30 shows a sample configuration of the
SessionBasedCookieExpiry variable.
com.tandem.servlet.nsjsp
Specifies a NonStop-specific argument. This argument indicates whether the
running process is an NSJSP process. The default value is true. If the value is set
to false, NSJSP exhibits only Apache Tomcat behavior. Although NSJSP is
based on Apache Tomcat, the default behavior of some of the features in NSJSP is
different from that of Apache Tomcat as shown below.
It is recommended that the com.tandem.servlet.nsjsp variable is set to
true. Setting the variable to false might require additional changes to the
configuration files, such as server.xml, because the default Tomcat behavior
might require different configuration parameters than NSJSP.
DiscardFileMapHistory
Preserves or discards the history of all changes to the Filemaps. The default value
is false.
Filemap changes are made by the NSJSP Manager application when deploying
and undeploying web applications. If the DiscardFileMapHistory parameter is
set to true, and if an existing Filemap definition for a URI needs to be
overwritten, the existing Filemap definition is first deleted and then a new definition
is inserted. If the DiscardFileMapHistory parameter is set to false, the old
definition is retained as a comment and the new definition is added.
Example 3-30. A Sample Configuration of the SessionBasedCookieExpiry
Variable
-DSessionBasedCookieExpiry=false
Note. To get pure Tomcat behavior, you can install Apache Tomcat on a NonStop
server.










