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 / thennavan.m

YES.

ServletContext(): To communicate with the Servlet Container.
Eg: What server to running on the
Environment.Then when sever is
started,who is login the server all
the information to store the
"Event log"file ie log4j.

ServletConfig(): Pass the configuration information to the
Server to the servlet.

Session(): Session is a Object to track
the user interaction with
the web application across multiple
HttpSession.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is dispatcher servlet a singleton?

969


Which application server is best for java?

1033


Explain how to improve Servlet Performance?

1098


How to get the server information in a servlet?

1126


Explain the lifecycle of a servlet?

919


Explain how does JSP handle run-time exceptions?

1047


How we can create war file in servlet?

1078


What do you mean by servlet?

1111


Why do we use sendredirect() method?

940


What do you mean by request dispatcher in servlet? Also explain its methods.

1098


If my browser does not support cookie, and my server sends a cookie instance what will happen?

1052


Tell us something about servletcontext interface.

1044


What is the process to implement doget and dopost methods?

940


How to find whether a parameter exists in the request object?

1066


What is a servlet?

1088