如何防止IE缓存jsp文件
如何防止IE缓存jsp文件,如何防止IE缓存jsp文件
<%
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
%
2, 使用HTML标记,如下面:
<HEAD
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"
<META HTTP-EQUIV="Expires" CONTENT="0"
</HEAD