日期:2014-05-16 浏览次数:20306 次
方法一:可以加入到JSP或Servlet
<%
?response.setHeader("Pragma","No-cache");
?response.setHeader("Cache-Control","no-cache");
?response.setDateHeader("Expires", 0);
%>?
方法二:
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
</HEAD>?