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-71
The context.xml File
Table 3-17. Property List for the Context Element (page 1 of 6)
Property Description
backgroundProcessor
Delay
Represents the delay in seconds between the invocation of
the backgroundProcess method on this context and its
child containers, including all wrappers. Setting this to a
positive value causes a thread to spawn. After waiting the
specified amount of time, the thread invokes the
backgroundProcess method on this context. A context uses
background processing to perform session expiration and
class monitoring for reloading. If this property is not specified,
the default value for this property is -1, which means the
context will rely on the background processing thread of its
parent host.
className Represents the Java class name of the implementation to use.
This class must implement the
org.apache.catalina.context interface. If this property
is not specified, the standard value
org.apache.catalina.core.StandardContext will be
used.
cookies Enables or disables cookies for session identifier
communication.
Set to true if you want cookies to be used for session
identifier communication if supported by the client (this is the
default). Set to false if you want to disable the use of
cookies for session identifier communication, and rely only on
URL rewriting by the application. If this property is not
specified, the default value is true.
crossContext Set to true if you want this application to be able to call
ServletContext.getContext() to successfully obtain a
request dispatcher for other web applications running on this
virtual host. Set to false (the default) in security conscious
environments, which makes getContext() always return
null. If this property is not specified, the default value is
false.
For more information on the implications of using
crossContext, see deployXML
on page 3-65.