public class NoCacheTag extends CustomTagSupport
| Constructor and Description | 
|---|
NoCacheTag()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
doStartTag() | 
doCatch, doFinallypublic int doStartTag()
               throws javax.servlet.jsp.JspException
ブラウザのキャッシュを防止するmetaタグの出力及びレスポンスヘッダの設定を行う。 設定内容は下記の通り。 metaタグ pragma: no-cache cache-control: no-cache expires: 0 レスポンスヘッダ Pragma: no-cache Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: 0
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException