Which method the Servlet container call to create the
instance of the servlet?
Answer Posted / arun
the servlet container will call only init() method and it
will not create any instance of the servlet,it will pass
initialization parameters to the init() method,it is called
(i.e init() method ) before the servlet, services any
request.only once in the life cycle of sevlet this init()
method is called.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How to handle exceptions thrown by application with another servlet?
How do you get the ip address of the client in servlet?
Is that servlet is pure java object or not?
What is the major difference between context parameter and context attribute?
When to use doget() and when dopost()?
What are the types of protocols supported by httpservlet ?
What are the steps that are required to handle the multi-threading?
How to generate the server side programming and the advantages of it over the other languages?
Difference between GET and POST?
What is servlet mapping?
Define the servlet mapping.
What are important features of Servlet 3?
What’s the difference between genericservlet and httpservlet?
What are the steps involved in placing a servlet within a package?
how the HTML data stored in web server?