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 servlet lazy loading?

0 Answers  


What do you mean by deployment descriptor?

0 Answers  


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

0 Answers  


What is the difference between an applet and a servlet?

15 Answers   GCEW, Miracle Solutions,


What is MIME Type?

0 Answers  


What are the phases of servlet life cycle?

0 Answers  


Explain url encoding in servlet?

0 Answers  


why are extending GenericServlet and why are extending HttpServlet explain?

7 Answers  


What is the process to implement doget and dopost methods?

0 Answers  


What are the types of servlets? Explain

0 Answers  


Which event is fired at the time of setting, getting or removing attribute from application scope?

0 Answers  


How do you create connections for number of users, if you want to improve performance?

2 Answers  


Categories