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 / samik bandyopadhyay

The init() method is only used to initialize an existing
servlet instance before it starts providing service to
requests, it's never used for creating a servlet instance.
I'm searching for the method which creates the servlet
instace. But I can assure that we can't create a servlet
instace, it's done by the container.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is preinitialization of a servlet?

1021


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

1076


What are the different methods involved in the process of session management in servlets?

1262


Tell us something about servletcontext interface.

1085


Which interface must be implemented by all servlets?

1339


What are some advantages of storing session state in cookies?

1009


What is the use of request dispatcher interface?

1004


What is http servlet?

1055


Which exception is thrown if the servlet is not initialized properly?

1020


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

1039


What is the procedure for initializing a servlet?

1030


Explain servlet life cycle?

1121


What are the different session tracking techniques?

1192


why we should override only no-agrs init() method.

1128


Why servlet is mostly used?

1232