how do i prevent the output of my jsp or servlet


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.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: how do i prevent the output of my jsp or servlet
Reference No:- TGS0266636

Expected delivery within 24 Hours