How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
Ans) You will require to set the appropriate HTTP header attributes to stop the dynamic content output by the JSP page from being cached by the browser. Just implement the following scriptlet at the beginning of your JSP pages to stop them from being cached at the browser. You require both the statements to take care of some of the older browser versions.