Sun Java System Web Server 6.1 SP7 Programmer's Guide to Web Applications

property

Specifies a property, which contains a name and a value. A property adds configuration information to its parent element that is one or both of the following:

For example, a manager-properties element can include property subelements:

<manager-properties>
        <property name="reapIntervalSeconds" value="20" >
     </manager-properties>

Which properties a manager-properties element uses depends on the value of the parent session-manager element's persistence-type attribute. For details, see the description of the session-manager element.

Subelements

The following table describes subelements for the property element. The left column lists the subelement name, the middle column indicates the requirement rule, and the right column describes what the element does.

Table 6–7 property Subelements

Element  

Required  

Description  

description

zero or one 

Contains a text description of this element. 

Attributes

The following table describes attributes for the property element. The left column lists the attribute name, the middle column indicates the default value, and the right column describes what the attribute does.

Table 6–8 property Attributes

Attribute  

Default  

Description  

name

none 

Specifies the name of the property or variable. 

value

none 

Specifies the value of the property or variable.