Spring MVC 3中的后退按钮失败

时间:2013-01-29 12:32:23

标签: spring spring-mvc

我已经通过很多论坛来解决MVC 3中的Back按钮的解决方案。当我点击后退按钮时,不会显示上一页但刷新时会显示。我尝试过:

response.setHeader( "Expires", "0" );
// set standard HTTP/1.1 no-cache headers (post-check and pre-check for IE)
response.setHeader( "Cache-Control", "no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=0, proxy-revalidate, no-transform, private");
// set standard HTTP/1.0 no-cache header
response.setHeader( "Pragma", "no-cache" );

但仍然没有线索。你能告诉我如何请求浏览器刷新或从服务器获取数据吗?

0 个答案:

没有答案