Which method the Servlet container call to create the
instance of the servlet?

Answer Posted / madhusudhan

init(ServletConfig cg)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the life-cycle methods for a servlet?

562


What is httpservlet and how it is different from genericservlet?

617


What is a deployment descriptor?

605


Can we override servlet service method?

592


What is difference between jsp and servlet?

652






What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

549


How native code can be used in a servlet?

3528


What do you mean by session tracking and also explain its techniques?

506


What is the dispatcher servlet?

522


How can you start a jta transaction from a servlet deployed on jboss?

686


What are the different methods involved in the process of session management in servlets?

675


What is servlet mapping?

605


What are the ways to handle multi-threading in servlets?

606


Is java servlet still used?

601


How to handle exceptions thrown by application with another servlet?

620