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

Define servlet mapping?

0 Answers  


What are the steps involved in placing a servlet within a package?

0 Answers  


What type of protocols are used in HttpServlet?

3 Answers  


What do you mean by session tracking?

0 Answers  


When servlet object is created?

0 Answers  


What is meant by cookies?

0 Answers  


How to get the IP address of client in servlet?

0 Answers  


What is Servlet API used for connecting database?

0 Answers  


Name the different ways of session tracking.

0 Answers  


What is difference between jsp and servlet?

0 Answers  


What are the types of Session Tracking ?

0 Answers  


Explain life cycle of a Servlet?

2 Answers  


Categories