控制客户端不产生缓存

1 response.addHeader("paragma","no-cache");
2 response.addHeader("cache-control","no-cache");
3 response.addHeader("expires","0");

这段代码写在action内

posted @ 2016-04-15 20:34  xfma  阅读(198)  评论(0编辑  收藏  举报