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 do you mean by a filter and how does it work?

955


What is api in servlet?

1023


What are the annotations used in servlet 3?

1039


Explain url encoding?

990


What is http servlet in java?

1070


What is the web server used for running the Servlets?

1019


How to create war file?

1162


Who is responsible for writing a constructor?

1267


What is the difference in between the httpservlet and generic servlet?

1122


What is the difference between the servlets and cgi programs?

998


Explain the custom jsp tags and the beans.

1069


What is the difference between servlet and jsp?

1119


What is the type of method for sending request from http server?

1108


What is webservlet?

996


What is ServletConfig object?

1185