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

as soon as the java web application is
deployed into web container ,the first
object that container create is
servletcontext
This object is only one per web application
Every web component of web application
share this unique object

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are common tasks performed by Servlet Container?

1207


What are its drawbacks of cgi?

1027


Can we override servlet service method?

1050


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

1079


What is the difference between encodeRedirectUrl and encodeURL?

1062


What is session?

998


What is servlet container?

1071


What’s the use of the servlet wrapper classes??

1064


What is the use of servlet wrapper classes?

1121


What is the difference between genericservlet and httpservlet

1020


List some life cycle methods of a servlet.

1009


How do you configure a centralized error handler in servlets?

1035


What is the difference between forward () and sendredirect () functions in servlet? Explain

980


How to handle exceptions thrown by application with another servlet?

1034


What is the use of attribute in servlets?

1003