*/
public int doStartTag()
throws JspException
{
// get the cache from the specified scope
Cache cache = CacheUtil.getCache(pageContext, _scope);
// generate the cache key using the user specified key.
if (_key != null) {
String key = CacheUtil.generateKey(_key, pageContext);
// remove the entry for the key
cache.remove(key);
if (_logger.isLoggable(Level.FINE))
_logger.log(Level.FINE, FLUSH_TAG_CLEAR_KEY, key);
} else {
// clear the entire cache
cache.clear();
if (_logger.isLoggable(Level.FINE))
_logger.log(Level.FINE, FLUSH_TAG_CLEAR_CACHE);
}