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 / a,srinivas rao

servletcontext is an object which contains the information
regarding all the servlets that are used in web application.
when ever user first do the deployment of the web
application on the server the web container instantiate a
servlet context object.the information in the servlet
context object is also passed to init method.

Is This Answer Correct ?    51 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between servlet and filter?

1002


What mechanisms are used by a Servlet Container to maintain session information?

1213


Tell us something about servletcontext interface.

1143


What is the life cycle of a servlet?

1610


What is cookie? Why is cookie used?

1103


How we can create war file in servlet?

1182


Explain session tracking and its importance?

1053


What is the difference between using getSession(true) and getSession(false) methods?

1104


What is http servlet in java?

1117


What are the type of protocols used in httpservlet?

1142


Explain how does JSP handle run-time exceptions?

1158


What is the life-cycle of servlets?

1182


What are the exceptions thrown by servlets? Why?

1245


What is the difference between Difference between doGet() and doPost()?

1361


What is the use of welcome-file-list?

1074