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

Answer Posted / pintu debnath

init() method is only used to initialize a servlet, and it
is called after the servlet instance has been created.

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lazy loading and what is Generic Servlet Class?

611


What is servlet name in web xml?

559


Explain mvc pattern.

594


What exception should be thrown when servlet is not properly initialized?

555


What is the servlet?

623






Write the code to get the server information in servlet.

573


What do you mean by httpservlet?

564


Why is http protocol called as a stateless protocol?

537


Who is responsible for writing a constructor?

779


Can we override servlet service method?

587


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

599


What is the difference between Server and Container?

618


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

612


What do you mean by httpservlet and how it is different from the genericservlet?

539


Explain the difference between get and post method in servlet?

606