Aug 16, 2001 #1 ramkumars Programmer Joined Aug 2, 2001 Messages 31 Location IN hi, i want to turn off the Proxy from cacheing any of my JSP's. how can i achieve this? Thanks, Ram
Aug 17, 2001 #2 wushutwist Programmer Joined Aug 3, 2000 Messages 984 Location US To prevent caching you can do the following in your JSP or Servlet: Code: response.addHeader("Pragma","No-cache"); response.addHeader("Cache-Control,"no-cache"); response.addDateHeader("Expires",1); The Pragma header is specifically targeted to Proxy Servers. Wushutwist Upvote 0 Downvote
To prevent caching you can do the following in your JSP or Servlet: Code: response.addHeader("Pragma","No-cache"); response.addHeader("Cache-Control,"no-cache"); response.addDateHeader("Expires",1); The Pragma header is specifically targeted to Proxy Servers. Wushutwist