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

If some new data has entered the database, explain how can a servlet refresh automatically?

1291


What is the difference between CGI and Servlet?

1078


What is the inter-servlet communication?

1174


Is java servlet still used?

1048


What is java servlet session?

974


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2777


What are the key methods that are involved in processing of http servlets?

1107


Name the different ways of session tracking.

1026


What are the jobs performed by servlets?

1077


Explain web application directory arrangement?

1064


Why is httpservlet declared abstract?

1116


Can we refresh servlet in client and server side automatically?

1052


Why is servlet used?

1168


Is that servlet is pure java object or not?

1117


Is dispatcher servlet a singleton?

1013