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
How are filters?
What are the phases of servlet life cycle?
Which method of the httpservletrequest object is used?
Which application server is best for java?
Define the lifecycle for executing a jsp page.
How do you get the ip address of the client in servlet?
What is preinitialization of a servlet?
What is the structure of the http response
Servlet is pure java object or not?
How can a servlet be used to generate plain text instead of html?
What exactly is a servlet?
How can you run a servlet program?
How to find whether a parameter exists in the request object?
How the servlet is loaded?
Why do we have servlet listeners?