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-73
The context.xml File
path The value of this field must not be set except when statically
defining a Context in server.xml, as it will be inferred from
the filenames used for either the.xml context file or the
docBase.
Note. HP recommends that contexts should not be specified
in the server.xml file as this file is meant for container
configuration and application specific contexts should be
specified in the META-INF/context.xml file of the
application.
reloadable Set to true if you want Catalina to monitor classes in /WEB-
INF/classes/ and /WEB-INF/lib for changes, and
automatically reload the web application if a change is
detected. This feature is very useful during application
development, but it requires significant runtime overhead and
is not recommended for use with applications that have been
deployed in production. Hence, the default setting for this
property is false. As an alternative, however, to trigger
reloads of deployed applications on demand, you can use the
NSJSP Manager application.
resourceOnlyServlets Comma separated list of Servlet names (as used in /WEB-
INF/web.xml
) that expect a resource to be present. Ensures that
welcome files associated with Servlets that expect a resource to be
present (such as the JSP Servlet) are not used when there is no
resource present. This prevents issues caused by the clarification of
welcome file mapping in section 10.10 of the Servlet 3.0
specification. If the
org.apache.catalina.STRICT_SERVLET_COMPLIANCE system
property is set to true, the default value of this property will be the
empty string, else the default value will be
jsp.
sessionCookieDomain The domain to be used for all session cookies created for this
context. If set, this overrides any domain set by the web
application. If not set, the value specified by the web
application, if any, will be used.
sessionCookiePath The path to be used for all session cookies created for this
context. If set, this overrides any path set by the web
application. If not set, the value specified by the web
application will be used, or the context path used if the web
application does not explicitly set one. To configure all web
application to use an empty path (this can be useful for portlet
specification implementations) set this property to / in the
global CATALINA_BASE/conf/context.xml file
wrapperClass Represents the Java class name of the
org.apache.catalina.Wrapper implementation class
that will be used for servlets managed by this Context. If this
property is not specified, a standard default value will be used.
Table 3-17. Property List for the Context Element (page 3 of 6)
Property Description