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
Which is the methods of generated servlet?
Explain the different ways for servlet authentication?
What are the uses of servlet and what is servlet chaining?
Which event is fired at the time of project deployment and undeployment?
Tell us something about servletcontext interface.
What is servlet interface?
Explain url encoding?
What are the exceptions thrown by servlets? Why?
Difference between get and post in java servlets?
What are the different methods of session management in servlets?
Which is better jsp or servlet?
Is that servlet is pure java object or not?
Can servlet have a constructor ?
What is java servlet session?
Explain the features are in servlet 3?