Netscape ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual page 93

Guide to servlets
Table of Contents

Advertisement

NOTE
If the context for a servlet is not defined, the servlet belongs to the global context.
You can use the same servlet in multiple contexts.
Only the
inherited from the global context. You can also change the properties of the global
context. The comments in the
values of the global context.
Here is an example of
# @(#)contexts.properties (autogenerated)
#
# Contexts Properties:
#
# context.<context_name>.sessionmgr=session manager (some session managers
#
(like MMapSessionManager) can only be instatiated once within the
#
server
# context.<context_name>.sessionmgr.initArgs=list of (name, value) pairs which
#
will represent parameters specific to the session manager
# context.<context_name>.initArgs=list of (name, value) pairs which will be added
#
to this context's attributes
# context.<context_name>.respondCookieVersion=(cookie version) tells the server
#
whether to respond with specific cookie version
# context.<context_name>.sessionExpireOnClose(true|false) tells the server to
#
mark session cookies as directed to expire when the user quits
#
the browser
# context.<context_name>.tempDir=path (forward slashes only) - sets up Servlet API
#
2.3 property for the temporary directory
# context.<context_name>.reloadInterval=seconds - time interval within which the
#
server checks for jsp and servlet files being modified (global
#
context only)
# context.<context_name>.bufferSize=bytes - initial http output stream buffer size
# context.<context_name>.docRoot=path (forward slashes only) - this context
#
document root when not specified - web server's document root
#
will be used (default)
# context.<context_name>.inputStreamLengthCheck=(true|false) - makes
#
ServletInputStream stop reading data when Content-Length bytes
#
are read
# context.<context_name>.outputStreamFlushTimer=(seconds|0) - forces the stream
#
to flush the data if certain time elapsed since the last flush;
#
0 - ignore it
All JSPs belong to the default global context. You cannot define
custom contexts for JSPs. However, you can change the properties
of the global context to affect JSPs.
of a context is required. Any other unspecified properties are
name
contexts.properties
contexts.properties
file list the default property
.
Chapter 8
Legacy Servlet and JSP Configuration
Legacy Configuration Files
93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents