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 |
we cant Override Jsp Service method?Why?
4 Answers Infrasoft, Mind Tree,
Why do you use session tracking in httpservlet?
why we should override only no-agrs init() method.
What do you mean by deployment descriptor?
What is ServletContext() and what is its use?
9 Answers Prime Technology, TCS,
What are the functions of an intercepting filter?
How can we create deadlock situation in servlet?
What is the use of httpservletresponsewrapper?
how can we execute servelt? what the use ".war" or ".jar" file creation
What is the use of java servlet api?
What do you mean by url pattern in servlet?
Is it possible to call servlet with parameters in the URL?