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

Answer Posted / priyanjan

Servlet container invokes the init() method to create the
instance of servlet.

Is This Answer Correct ?    18 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we override destroy method in servlet?

707


What is session tracking?

891


What is cgi?

776


What is servlet looping or chaining?

895


Explain request dispatcher and its methods.

765


How do I know if java is running on linux?

786


How does java thread pool work?

767


What is the servlet?

828


What is the need of session tracking in web application?

769


What is the use of attribute in servlets?

766


Which application server is best for java?

759


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

673


What is the difference between encodeRedirectUrl and encodeURL?

825


If some new data has entered the database, explain how can a servlet refresh automatically?

982


How httpservlet is different from the genericservlet?

782