让JSP页面不缓存

发表于:2007-07-01来源:作者:点击数: 标签:
在JSP页面的前面加上:

<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragrma","no-cache");
response.setDateHeader("Expires",0);
%>

原文转自:http://www.ltesting.net