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...

Is there any differance b/w getting servlet context from
servlet config and session? if yes then what is that?

Answer Posted / nisha

Servlet config is one per servlet and servlet context is one for
the whole webapplication.

Servlet config is used to pass deploy time information to servlet
where servlet context can be used to get information about the
container,server.

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many objects of a servlet is created?

1276


What is the capacity the doget can send to the server?

1082


How do you create a cookie using servlet?

1174


What do you mean by session tracking?

1220


Difference between GET and POST?

1163


When Servlet is unloaded?

1109


How can the session in servlet can be destroyed?

1184


Which protocol will be used by browser and servlet to communicate

1059


How to get the actual path of servlet in server?

1225


What are the mechanisms used by a servlet container for maintaining session information?

1031


What is the major difference between context parameter and context attribute?

1117


Differentiate between get and post?

1165


When servlet object is created?

1165


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

1034


What is a servlet context?

1167