com.ora.jsp.tags
Class NoCacheTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.ora.jsp.tags.NoCacheTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, 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:
2.0
Author:
Hans Bergsten, Gefion software
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
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
doAfterBody, 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, 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

Throws:
javax.servlet.jsp.JspException