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
What are the uses of servlets?
When servlet is loaded?
What is the purpose of dispatcherservlet properties?
What is context in servlet?
What is difference between GenericServlet and HttpServlet?
Explain the differences between jsp and servlet.
Can you refresh servlet in client and server-side automatically?
What do you mean by scope object and what are its types?
If servlet receives multiple requests, how many objects will it create?
What are the differences between forward() method and sendredirect() methods?
What do you mean by cgi?
What do you mean by cgi and what are its drawbacks?
What is the difference between genericservlet and httpservlet
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What are common tasks performed by Servlet Container?