让JSP页面过期, 保证每次JSP页面都是最新的.

response.addHeader("Cache-Control", "no-cache");
response.addHeader("Expires", "Thu, 01 Jan 1970 00:00:01 GMT");

Published At
Categories with Web编程
Tagged with
comments powered by Disqus