一秒刷新页面一次
response.setHeader("refresh","1");
二秒跳到其他页面
response.setHeader("refresh","2;URL=otherPagename");
没有缓存:
response.setHeader("Pragma", "No-cache");
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