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

refresh-field

Specifies a field that gives the application component a programmatic way to refresh a cached entry.

Subelements

none

Attributes

The following table describes attributes for the refresh-field 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–35 refresh-field Attributes

Attribute  

Default Value  

Description  

name

none 

Specifies the input parameter name. If the parameter is present in the specified scope and it’s value is true, the cache will be refreshed.

scope

request.parameter

(optional) Specifies the scope in which the input parameter can be present. Allowed values are context.attribute, request.header, request.parameter, request.cookie, session.id, and session.attribute.