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 multiple server?
How to deal with multi-valued parameters in a servlet?
Explain how to improve Servlet Performance?
What's the use of servletcontext?
How is the get () method different from the post() method?
What are the annotations used in servlet 3?
What are the mechanisms used by a servlet container for maintaining session information?
What is the difference between the servlets and cgi programs?
How is a servlet implemented in code?
Why is a constructor needed in a servlet even if we use the init method?
Explain the difference between servlet and cgi?
What are the differences between forward() method and sendredirect() methods?