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 do you mean by mime type?
What is a server side include (ssi)
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
How is the get () method different from the post() method?
What is new in ServletRequest interface ? (Servlet 2.4)
What is a servlet-to-servlet communcation?
What exactly is a servlet?
What if you need to span your transaction across multiple servlet invocations?
What is servlet container?
Can you send an authentication error from a servlet?
Write a program to show the functionality of servlets.
How printwriter is different from servletoutputstream?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Is it possible to have a constructor inside the servlet?
How do I support both get and post from the same servlet?