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

What do you mean by filter in servlet?

957


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

983


Is servlet a controller?

970


If a servlet is not properly initialized, what exception may be thrown?

1127


What is the difference between context parameter and context attribute?

982


What is servlet and its advantages?

1003


What is cookies in servlet with example?

1035


What are the disadvantages of storing session state in cookies?

1102


What is servlet api used for conneting database?

1184


What do you mean by scope object and what are its types?

1028


What is the process for chaining servlet?

999


What are the supporting protocol by HttpServlet ?

1129


What methodology can be followed to store more number of objects in a remote server?

2223


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

979


If servlet receives multiple requests, how many objects will it create?

1332