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

Answer Posted / ravikiran.chd

class.forName(classname).getInstance()

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a servlet?

721


How do I use cookies to store session state on the client?

727


What is the requirement of servlet config and servlet context implemented and how are they implemented?

749


List the Different types of servlet?

783


What are the drawbacks of cgi?

735


How do we share data using 'getservletcontext ()?

749


What is the use of request dispatcher interface?

777


Is java servlet still used?

757


Why is servlet used?

896


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

776


How many objects of a servlet is created?

994


What are the difference between session and cookies in servlet? Explain

791


What is a servlet-to-servlet communcation?

858


Explain the war file?

820


What is the capacity the doget can send to the server?

796