Which method the Servlet container call to create the
instance of the servlet?
Answer Posted / 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 |
Post New Answer View All Answers
How printwriter is different from servletoutputstream?
Is dispatcher servlet a singleton?
What are the new features added to servlet 2.5?
Why HttpServlet class is declared abstract?
How do you design microservices?
How to get the current httpsession object?
What are advantages of servlets over cgi?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
List some life cycle methods of a servlet.
Which interface must be implemented by all servlets?
What do you mean by request dispatcher in servlet?
What is meant by a web application
What is a web application and what is it’s directory structure?
What are the functions of the servlet container?
What is the difference between Difference between doGet() and doPost()?