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

Answer Posted / venkatesh

ServletProcessor1.process() and this loads servlet class
using the mapping provided in web.xml and creates a new
instance of it.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a web container and what is its responsibility?

751


In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

791


Is tomcat a servlet container?

797


What are the functions of Servlet container?

845


What is the element?

801


What are the uses of servlet

844


What are the two important api's in for servlets?

823


How we can call a jsp from the servlet?

739


What is servlet container?

888


How do you define a servlet?

745


What is meant by cookies?

863


What is pure servlet?

943


Define the servlet mapping.

730


What is difference between get and post method?

798


How do servlets work?

780