
servlets.properties
134 Netscape Enterprise Server Programmer’sGuide • April 2002 (Draft)
Afewservlets.properties functions are in the web.xml file. For more
information, see the Servlet 2.2 API specification at:
http://java.sun.com/products/servlet/index.html
Table 3-4 and Table 3-5 list the equivalent functions in the servlets.properties
and web-apps.xml files.
Table 3-4 servlets.properties to web-apps.xml correspondences for individual (servlet) properties
servlets.properties Property web-apps.xml Element or
Attribute
Comments
code (none) Specified in a servlet-class
element in the web.xml file.
context (none) Obsolete because web
applications are supported.
classpath classpath attribute of
class-loader element
initArgs (none) Use the <SERVLET> tag, which
takes servlet-specific
initialization parameters.
startup (none) Specified in a
load-on-startup element in
the web.xml file.
Table 3-5 servlets.properties to web-apps.xml correspondences for general (servlets) properties
servlets.properties Property web-apps.xml Element or
Attribute
Comments
config.docRoot (none) Specified in the server.xml file
for each virtual server.
config.realPathFromRequest (none) Deprecated in the Servlet 2.2 API.
config.respondCookieVersion version attribute of
response-cookie element
config.sessionExpireOnClose (none) Tracking session expiration in
this way is no longer necessary.
sessionmgr session-manager element
config.reloadInterval reload-interval attribute of
class-loader element
Comentarios a estos manuales