Interviewer And Interviewee Guide

Java JSP Programming Interview Question:

How do I prevent the output of my JSP or Servlet pages from being cached by the browser?

Submitted by: Administrator
You will need to set the appropriate HTTP header attributes to prevent the dynamic content output by the JSP page from being cached by the browser. Just execute the following scriptlet at the beginning of your JSP pages to prevent them from being cached at the browser. You need both the statements to take care of some of the older browser versions.
Submitted by: Administrator

Read Online Java JSP Programming Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.