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 is the difference between Difference between doGet() and doPost()?
Why do we have servlet listeners?
Can you use javascript in servlets?
What is difference between jsp and servlet?
Why is http protocol called as a stateless protocol?
What is the need of servlet filters?
Explain jsessionid and when is it created?
What are the key methods that are involved in processing of http servlets?
What's the architecture of a servlet package?
Explain the different ways for servlet authentication?
What is cgi?
What is webservlet?
What is Request Dispatcher?
Which protocol will be used by browser and servlet to communicate
What is context in servlet?