1 HttpServletResponse response = runData.getResponse();
2 response.setHeader("Pragma","No-cache");
3 response.setHeader("Cache-Control","no-cache");
4 response.setDateHeader("Expires", 0);
//除了第一句根据具体的框架而定,其他适用所有,本例是在turbine框架下调试
2 response.setHeader("Pragma","No-cache");
3 response.setHeader("Cache-Control","no-cache");
4 response.setDateHeader("Expires", 0);
//除了第一句根据具体的框架而定,其他适用所有,本例是在turbine框架下调试