html中设置方法 <head> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="0"> </head> jsp中设置方法 1. response.setHeader("Pragma","no-cache"); 2. response.setHeader("Cache-Control","no-cache"); 3. response.setDateHeader("Expires",0);