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

when the webcontainer creates ServeletConfig,ServletContext
objects? befoure creating the Servlet object or not?

Answer Posted / pavankumar

when we deploy the web application.the server reads the contents from configuration file(web.xml file) and server checks whether corresponding servlet object is created or not if it is created the server does'nt creates if it is not there then it create
before that when we deploy the web application ServletContext is created.
After the creation of servlet object .then servletConfig is created for that corresponding servlet.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1103


What is context in servlet?

1043


Can we get PrintWriter and ServletOutputStream both in a servlet?

1149


How to get the server information in a servlet?

1173


What do you mean by annotations in servlet?

1060


How can I send user authentication information while making URL Connection?

1006


What is servlet? Explain

1068


How we can call a jsp from the servlet?

1011


What is the life-cycle of servlets?

1139


Write a command to get actual path of a servlet to the server?

1034


Difference between forward() method and sendredirect() method ?

1042


How do we go with database connection and log4j integration in servlet?

1175


How will you pass values from HTML page to the servlet?

1053


Why are servlets used?

1043


What are the different session tracking techniques?

1198