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

How native code can be used in a servlet?

3526


What is the difference between a generic servlet and http servlet?

528


What are the different methods of session management in servlets?

545


Define the lifecycle for executing a jsp page.

599


Write a program to show the functionality of doget and dopost method?

663






What are the exceptions thrown by servlets? Why?

626


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

580


Can a jsp be called using a servlet?

586


What is new in ServletRequest interface ? (Servlet 2.4)

581


What is a generic servlet?

524


What's the difference between servlets and applets?

567


What are the functions of Servlet container?

611


What are the different session tracking techniques?

687


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2288


What is a deployment descriptor?

603