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

Answer Posted / naveen kumar bandi

to create an instance of servlet servlet container calls
newInstance() method

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of servlet?

653


What are the mechanisms used by a servlet container for maintaining session information?

556


What do you mean by annotations in servlet?

575


Whats the advantages using servlets over using CGI?

577


What are the life-cycle methods for a servlet?

542






What are the advantages of cookies?

622


How native code can be used in a servlet?

3515


Explain mvc pattern.

584


What is a web application and what is it’s directory structure?

576


Is servlet a server side scripting language?

546


What is the procedure for initializing a servlet?

540


Which application server is best for java?

550


What is the importance of init() method in Servlet ?

586


What is cookie? Why is cookie used?

574


What is api in servlet?

511