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

Which method the Servlet container call to create the
instance of the servlet?

Answer Posted / arun

the servlet container will call only init() method and it
will not create any instance of the servlet,it will pass
initialization parameters to the init() method,it is called
(i.e init() method ) before the servlet, services any
request.only once in the life cycle of sevlet this init()
method is called.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you send an authentication error from a servlet?

1029


Why doesn’t a servlet include main()?

1107


Can you call a jsp from the servlet?

1069


Is tomcat a servlet container?

1115


What is servlet looping or chaining?

1191


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

1186


Why jsp is better than servlet?

1083


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

1168


What are the annotations used in servlet 3?

1091


What is servlet invoker?

1089


What is servlet and its advantages?

1114


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

1079


Can we fetch the attributes related to a servlet on a different servlet?

1201


What's the architecture of a servlet package?

1101


Is it possible to have a constructor inside the servlet?

1062