Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to prevent browser from caching the page content?



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

Post New Answer

More Servlets Interview Questions

What is the difference between Get and Post Method?

12 Answers   T3 Softwares,


i need connection pooling code.....from harpreet.your@gmail.com

1 Answers   IBM,


Explain the features are in servlet 3?

0 Answers  


Is it possible to send a mail from a servlet? Explain?

4 Answers  


What is the difference between a generic servlet and http servlet?

0 Answers  


What if you need to span your transaction across multiple servlet invocations?

0 Answers  


How will you pass values from HTML page to the servlet?

0 Answers  


Why is init() method is used in servlets?

0 Answers  


What is api in servlet?

0 Answers  


Is tomcat a servlet container?

0 Answers  


What is the use of attribute in servlets?

0 Answers  


can i override service method

3 Answers   Intelligroup,


Categories