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 / anjan

Assume that ServletContext is shared momeroy for all
servelts which are existed in a web application,

we can place an object on to the servletcontext, and that
can uses all other servlets which are exited in the web
application.

Is This Answer Correct ?    153 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different Authentication options available in Servlets.

1127


Define the life cycle of a servlets.

1123


Elucidate servlet attributes and its scope?

1076


How native code can be used in a servlet?

4120


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

1142


What are different ways for servlet authentication?

1167


Why is http protocol called as a stateless protocol?

1085


What exception should be thrown when servlet is not properly initialized?

1059


What do you mean by cgi and what are its drawbacks?

1031


What is the difference between the include() and forward() methods?

1126


Explain the differences between jsp and servlet.

1048


What are the disadvantages of storing session state in cookies?

1193


What are the phases of the servlet life cycle?

1186


Why is init() method is used in servlets?

1078


What is servlet and its advantages?

1108