一秒刷新页面一次

response.setHeader("refresh","1");

 

 二秒跳到其他页面

response.setHeader("refresh","2;URL=otherPagename");

 

没有缓存:

 1 response.setHeader("Pragma", "No-cache");

2 response.setHeader("Cache-Control", "no-cache"); 

 

设置过期的时间期限  
  response.setDateHeader("Expires", System.currentTimeMillis()+自己设置的时间期限);

http://blog.csdn.net/educast/article/details/52148706

http://www.cnblogs.com/mingforyou/p/4259113.html
posted on 2016-12-12 14:50  筱筱鹿丸  阅读(621)  评论(0编辑  收藏  举报