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?

Answers were Sorted based on User's Feedback



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

Answer / v.bojjanna

first the web container call the servlet init(). after it
call the newInstance() for create the servlet object

Is This Answer Correct ?    1 Yes 0 No

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

Answer / sunil

servlet container calls the init() method to create the
instance of the servlet.
The instance is created for the servlet in which the init()
method is implemented.

Is This Answer Correct ?    6 Yes 6 No

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

Answer / venkatesh

ServletProcessor1.process() and this loads servlet class
using the mapping provided in web.xml and creates a new
instance of it.

Is This Answer Correct ?    1 Yes 1 No

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

Answer / madhusudhan

init(ServletConfig cg)

Is This Answer Correct ?    0 Yes 2 No

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

Answer / 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

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

Answer / jeyanthinathan

init()

Is This Answer Correct ?    1 Yes 12 No

Post New Answer

More Servlets Interview Questions

how can we create object to a class in a jsp file?

5 Answers   Accenture, L&T, TCS,


What is a generic servlet?

0 Answers  


What are the steps that are involved in using the httpservlet class?

0 Answers  


What are the different methods of session management in servlets?

0 Answers  


What are its drawbacks of cgi?

0 Answers  


Is servlet a controller?

0 Answers  


What methodology can be followed to store more number of objects in a remote server?

0 Answers  


What are the different session tracking techniques?

0 Answers  


What are the difference between session and cookies in servlet? Explain

0 Answers  


What is cookie? Why is cookie used?

0 Answers  


How to commuincate between an applet and a servlet?

0 Answers  


What is the use of java servlet api?

0 Answers  


Categories