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

Yes, some difference is there b/w servletconfig , servlet
context and session.
ServletContext:This is an interface created by webcontainer
based on class provided by webcontainer wendor,the
webcontainer will be create ServletContext Obj for the whole
web-application.
ServletConfig:This also an inteface and created by
webcontainer based on class provided by webcontainer vendor,
webcontainer creates servlet config obj forevery resource
that is available in webapplication.
session:session can be used to develop stateful application.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the path of servlet in the server?

1009


Write a program to show the functionality of doget and dopost method?

1215


What is servlet api used for conneting database?

1226


What is a deployment descriptor?

1100


How can the referrer and the target urls be used in servlet?

1005


How do you find out what client machine is making a request to your servlet

1055


What is the use of attribute in servlets?

1041


Explain the difference between a web server and a web container?

1003


Explain the different ways for servlet authentication?

1094


Which are the different ways you can communicate between servlets?

995


What is new in ServletRequest interface ? (Servlet 2.4)

1009


Why the concept of single thread model interface is used?

990


What is meant by a servlet?

1098


How we can call a jsp from the servlet?

1005


How to get the actual path of servlet in server?

1219