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 can you push data from an Applet to a Servlet?
Explain servlet.
How to commuincate between an applet and a servlet?
What is the use of httpservletresponsewrapper?
What are the types of protocols supported by httpservlet ?
What is servlet looping or chaining?
How servlet is created?
What are the steps that are required to handle the multi-threading?
How do you run a servlet?
What is servlet? Explain
What is the difference between jsp and servlet life cycle?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What is a server side include (ssi)
Explain url encoding in servlet?
Why the container loads server at the application startup and how?