How to prevent browser from caching the page content?
Answer / 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 |
What is servlet lazy loading?
What do you mean by deployment descriptor?
What is the difference between a generic servlet and http servlet?
What is the difference between an applet and a servlet?
15 Answers GCEW, Miracle Solutions,
What is MIME Type?
What are the phases of servlet life cycle?
Explain url encoding in servlet?
why are extending GenericServlet and why are extending HttpServlet explain?
What is the process to implement doget and dopost methods?
What are the types of servlets? Explain
Which event is fired at the time of setting, getting or removing attribute from application scope?
How do you create connections for number of users, if you want to improve performance?