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

Answer Posted / priyanjan

servlet container creates the init() method

Is This Answer Correct ?    17 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between sendredirect() and forward() in a servlet?

519


Which http method is said to be non-idempotent and idempotent?

601


What's the servlet interface?

589


What is http servlet? Explain with the help of an example.

574


What do you mean by httpservlet and how it is different from the genericservlet?

534






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

586


Explain url encoding?

512


Difference between get and post in java servlets?

537


What are the difference between RMI and Servlets?

1042


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

568


How to make sure a servlet is loaded at the application startup?

545


What is context in servlet?

531


How does tomcat servlet container work?

585


Whether thread can be used in servlets?

720


How can we invoke another servlet in a different application?

699