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

How to handle exceptions thrown by application with another servlet?

1089


How do you get the ip address of the client in servlet?

1012


Is that servlet is pure java object or not?

1119


What is the major difference between context parameter and context attribute?

1116


When to use doget() and when dopost()?

1118


What are the types of protocols supported by httpservlet ?

1222


What are the steps that are required to handle the multi-threading?

1106


How to generate the server side programming and the advantages of it over the other languages?

1003


Difference between GET and POST?

1159


What is servlet mapping?

1023


Define the servlet mapping.

1057


What are important features of Servlet 3?

1094


What’s the difference between genericservlet and httpservlet?

1114


What are the steps involved in placing a servlet within a package?

1078


how the HTML data stored in web server?

2636