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 servlets are deployed in java?
What are the types of protocols supported by httpservlet ?
How the JSP file will be executed on the Server side?
What is ServletConfig object?
What is url encoding and url decoding
What are the differences between servlet context vs servlet config?
What are the annotations used in servlet 3?
What is servlet container. how it works?
Explain the servlet filter.
What is load-on-startup in servlet?
How can the session in servlet can be destroyed?
What is the difference between CGI and Servlet?
What is called servlet container?
How many objects of a servlet is created?
What do you mean by mime type?