写了这么久了jsp,最常用的jsp头和去缓存代码要手写还一时还写不出来。。。留个记念了
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*"%>
<%@ page import="java.util.*"%>
<%
//remove cache
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
%>
posted on 2007-05-30 21:48
小祝 阅读(2180)
评论(2) 编辑 收藏 所属分类:
java技术