Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manual de usuario Pagina 103

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 148
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 102
servlets.properties
Chapter 2 Configuration Files 103
The Servlet 2.2 API specification at:
http://java.sun.com/products/servlet/index.html
Table 2-24 servlets.properties individual (servlet) properties
Property Allowed Values Default
Value
Description
code Class or class file
name
The name of the class or class file for the servlet. The .class
extension is optional.
context Contextname The context to whichtheservletbelongs. You changecontext
settings using the contexts.properties file.
classpath URLsorpathswith
forward slashes
only
The URL or path to the directory where classes are located or
the list of directories (but not URLs) or jar files, like the
CLASSPATH environment variable.
initArgs Comma separated
name=value pairs
List of name=value pairs which can be accessed by the servlet
using the servlet API calls.
startup true, false true Determines whether the servlet is started up automatically
when the web server is started up.
Table 2-25 servlets.properties general (servlets) properties
Property Allowed
Values
Default Value Description
config.docRoot Apathwith
forward
slashes
Webserver’s
document root
The document root for all
servlets. If docRoot is not
specified, the web server's
document root is used.
config.realPathFromRequest true, false false If true,calculates
getRealPath based on the
docRoot of the servlets.If
false, tries to go through
normal NSAPI steps.
config.respondCookieVersion Acookie
version
number
0 Tells the server whether to
respond with a specific cookie
version.
config.sessionExpireOnClose true, false false Tells the server to mark session
cookiesasdirectedtoexpire
when the user quits the
browser.
Vista de pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 147 148

Comentarios a estos manuales

Sin comentarios