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

I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2740


When should you prefer to use doget() over dopost()?

1225


What is called Session Tracking?

1250


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

1126


What are some advantages of storing session state in cookies?

1082


Explain how to improve Servlet Performance?

1200


Differentiate between the web server and application server?

1107


How to notify an object in session when session is invalidated or timed-out?

1131


When servlet object is created?

1227


what is multiple server?

2357


What are important features of Servlet 3?

1152


How can you run a servlet program?

1137


What do you mean by servlet?

1195


What are the functions of Servlet container?

1173


Which interface should be implemented by all servlets?

1267