Specifies the cache-mapping specific maximum amount of time in seconds that an entry can remain in the cache after it is created or refreshed. If not specified, the default is the value of the timeout attribute of the cache element.
cache-mapping (sun-web.xml)
none - contains data
The following table describes attributes for the timeout element.
Table A–124 timeout Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies the timeout input parameter, whose value is interpreted in seconds. The field’s type must be java.lang.Long or java.lang.Integer. |
request.attribute |
(optional) Specifies the scope from which the input parameter is retrieved. Allowed values are context.attribute, request.header, request.parameter, request.cookie, request.attribute, and session.attribute. |