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...

What is ServletContext() and what is its use?

Answer Posted / srikanth

ServletContext is called web application there would be one servlet context for entire web applicationthe .servlet context is used to get the context parameters specified in web.xml and also get the information of servlet engineand also request dispatcher object.

Is This Answer Correct ?    15 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the element?

1095


What must be implemented by all servlets?

1154


Given the request path below, which are context path, servlet path and path info?

1096


How many objects of a servlet is created?

1316


How can the referrer and the target urls be used in servlet?

1057


Differentiate between the print writer and servlet output stream?

1036


What is the need of servlet filters?

1062


What do you mean by request dispatcher in servlet? Also explain its methods.

1209


How to read request headers from servlets?

1094


What is Servlets and explain the advantages of Servlet life cycle?

1168


What is the difference between servlet and filter?

1002


What are the life cycle methods of a servlet?

1095


What is cgi and what are its drawbacks?

1145


What are the objects involved when a servlet receives a call from client?

1090


What is SingleThreadModel interface?

1206