How to prevent browser from caching the page content?
Answer Posted / janet
Before sending the data to the browser,write the follwing code.
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What is the procedure of invoking different servlet in a different application?
How the JSP file will be executed on the Server side?
Explain servlet events?
What is the difference between Servlets and Applets?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is servlet used for?
Explain session tracking and its importance?
What is a servlet context object?
What is a servlet?
explain the advantages of servlet life cycle?
Explain the role of dispatcherservlet and contextloaderlistener.
How servlet is created?
What are the common methods that are included in the http servlet class?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?