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 the use of welcome-file-list?

1074


What are the phases of the servlet life cycle?

1186


What is http servlet?

1104


What is the process to implement doget and dopost methods?

1032


Difference between forward() method and sendredirect() method ?

1088


How do we call one servlet from another servlet?

1101


Which is better jsp or servlet?

1103


Explain the servlet context.

1209


What is servletconfig?

1085


Where do you define dispatcherservlet?

1107


What are the differences between servlet context vs servlet config?

1144


How does java thread pool work?

1187


Describe some assignments that are executed by servlet container?

1125


Why jsp is better than servlet?

1081


What is the difference between sendredirect() and forward() in a servlet?

1058