All resources All frames

# ServletProps

This resource provides access to Jigsaw's servlet properties.

## Inherits

The ServletProps class inerits from the following classes:

- Resource
- PropertySet

## Attributes description

The ServletProps defines the following attributes:

- org.w3c.jigsaw.servlet.servlet-log-file
- org.w3c.jigsaw.servlet.sessions-max-idle-time
- org.w3c.jigsaw.servlet.max-sessions
- org.w3c.jigsaw.servlet.sessions-sweep-delay
- org.w3c.jigsaw.servlet.session.cookie.name
- org.w3c.jigsaw.servlet.session.cookie.path
- org.w3c.jigsaw.servlet.session.cookie.domain
- org.w3c.jigsaw.servlet.session.cookie.comment
- org.w3c.jigsaw.servlet.session.cookie.maxage
- org.w3c.jigsaw.servlet.session.cookie.secure

`org.w3c.jigsaw.servlet.servlet-log-file`

semantics
  The file where Jigsaw is supposed to write servlets log.
type
  This attribute is an editable FileAttribute
default value
  This attribute defaults to `<Jigsaw-dir>/Jigsaw/Jigsaw/logs/servlets.`

`org.w3c.jigsaw.servlet.sessions-max-idle-time`

semantics
  Amount of time a session is allowed to go unused before it is invalidated. Value is specified in milliseconds.
type
  This attribute is an editable LongAttribute
default value
  This attribute defaults to 1800000.

`org.w3c.jigsaw.servlet.max-sessions`

semantics
  Max number of sessions in memory, if the number of sessions exceeds this number the sessions with the bigest idle time will be invalidated. This is checked each time a session is added.
type
  This attribute is an editable IntegerAttribute
default value
  This attribute defaults to 1024.

`org.w3c.jigsaw.servlet.sessions-sweep-delay`

semantics
  Time interval when Jigsaw checks for sessions that have gone unused long enough to be invalidated. Value is an integer, specifying the interval in milliseconds.
type
  This attribute is an editable IntegerAttribute
default value
  This attribute defaults to 30000.

`org.w3c.jigsaw.servlet.session.cookie.name`

semantics
  The name of the cookie carrying the session ID.
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to JIGSAW-SESSION-ID.

`org.w3c.jigsaw.servlet.session.cookie.path`

semantics
  The path of the cookie carrying the session ID. (optionnal)
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to /.

`org.w3c.jigsaw.servlet.session.cookie.domain`

semantics
  The domain field of the cookie carrying the session ID. (optionnal)
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to null.

`org.w3c.jigsaw.servlet.session.cookie.comment`

semantics
  The comment field of the cookie carrying the session ID. (optionnal)
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to Jigsaw Server Session Tracking Cookie.

`org.w3c.jigsaw.servlet.session.cookie.maxage`

semantics
  The value of the maximum age of the cookie carrying the session ID. Default value is 86400 seconds (24h).
type
  This attribute is an editable IntegerAttribute
default value
  This attribute defaults to 86400.

`org.w3c.jigsaw.servlet.session.cookie.secure`

semantics
  The secure field of the cookie carrying the session ID.
type
  This attribute is an editable BooleanAttribute
default value
  This attribute defaults to false.

Jigsaw Team
$Id: org.w3c.jigsaw.servlet.ServletProps.html,v 1.2 1998/09/04 14:10:33 bmahe Exp $