com.ora.jsp.tags.generic
Class NoCacheTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.ora.jsp.tags.generic.NoCacheTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class NoCacheTag
extends javax.servlet.jsp.tagext.TagSupport

This class is a custom action for setting response headers that prevent the page from being cached by a browser or proxy server.

Version:
1.0
Author:
Hans Bergsten, Gefion software
See Also:
Serialized Form

Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext, parent, values
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
NoCacheTag()
           
 
Method Summary
 int doEndTag()
          Sets "no cache" response headers
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

NoCacheTag

public NoCacheTag()
Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Sets "no cache" response headers
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport