
web.xml
104 Netscape Enterprise Server Programmer’sGuide • April 2002 (Draft)
web.xml
Purpose
Defines a web application, including its servlets, URL mappings, security
constraints, and so on. Each web application has its own
web.xml file.
Location
The location is application-specific and user-defined.
Syntax
Refer to the .DTD file at:
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
or at:
server_root/bin/https/dtds/web-app_2_2.dtd
sessionmgr A session
manager
object
com.netscape.
server.http.
session.
NESSessionMan
-ager
(all on one line,
no dash)
The name of the session
manager for the servlet. Some
session managers, such as
MMapSessionManager,can
only beinstantiatedonce within
the server.
config.reloadInterval Number of
seconds
5 Thetimeintervalwithinwhich
the server checks for JSP and
servlet files being modified.
config.bufferSize Number of
bytes
4096 The initial HTTP output stream
buffer size.
startup true, false true Determines whether all servlets
are started up automatically
when the web server is started
up. Using the
servlet.startup property
instead is recommended.
Table 2-25 servlets.properties general (servlets) properties
Property Allowed
Values
Default Value Description
Commenti su questo manuale