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

What is the difference between context parameter and context attribute?

975


What are the two important api's in for servlets?

1016


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

1147


Explain the working of service() method of a servlet.

901


How we can call a jsp from the servlet?

957


How do you define a servlet?

939


How httpservlet is different from the genericservlet?

1067


How printwriter is different from servletoutputstream?

955


Differentiate between the web server and application server?

990


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

961


What is the use of send redirect () method?

1028


How can you push data from an Applet to a Servlet?

1035


What are the servlet events?

1010


Why doesn’t a servlet include main()?

987


What are the important functions of filters?

1066