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

One Servlet Context object will be created by the container
for one webapplication. That means all servlets can have a
scope to acess that context object. for example, let us
assume there 5 servlets are there in u r web application,
if u want to share same data to all servlets then we can
share that data using servlet context, because every
servlet can have interaction with that application
environment...

Is This Answer Correct ?    182 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet configuration?

1070


How can you create a session in servlet?

1146


What are the different methods of session management in servlets?

1030


what do you understand by url rewriting?

960


What is servlet attributes and their scope?

1066


What is servlet lazy loading?

1174


What’s the difference between forward() and sendredirect() methods?

1017


When a servlet accepts a call from a client, it receives two objects. What are they?

1247


How servlet is created?

1215


How do we call one servlet from another servlet?

1046


what is servlet chaining?

1099


How forward () method is different from send redirect () method?

970


What are the types of protocols supported by httpservlet ?

1224


What is httpservlet class?

1150


What is servlet interface?

1233