Sun Java System Web Server 7.0 Developer's Guide to Java Web Applications

Subelements

The following table describes subelements for the cache element.

Table A–28 cache Subelements

Element 

Required 

Description 

cache-helper Element

zero or more 

Specifies a custom class that implements the CacheHelper interface.

default-helper

zero or one 

Allows you to change the properties of the default, built-in cache-helper class.

property Element

zero or more 

Specifies a cache property, which has a name and a value. 

cache-mapping Element

zero or more 

Maps a URL pattern or a servlet name to its cacheability constraints.