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
What do you mean by a filter and how does it work?
What is api in servlet?
What are the annotations used in servlet 3?
Explain url encoding?
What is http servlet in java?
What is the web server used for running the Servlets?
How to create war file?
Who is responsible for writing a constructor?
What is the difference in between the httpservlet and generic servlet?
What is the difference between the servlets and cgi programs?
Explain the custom jsp tags and the beans.
What is the difference between servlet and jsp?
What is the type of method for sending request from http server?
What is webservlet?
What is ServletConfig object?