Which method the Servlet container call to create the
instance of the servlet?
Answer Posted / ravikiran(aptech mumbai)
After The successfull parsing of web.xml container will find
the particular class name which is mapped in web.xml and calls
class.forName(classname).newInstance() method.Then calls
init(ServletConfig config) of GenericServlet for
initializing the instance of the servlet.
Is This Answer Correct ? | 35 Yes | 1 No |
Post New Answer View All Answers
What is servlet in tomcat?
What is SingleThreadModel interface?
Is servlet a framework?
What is the
Why do we need servlet filter?
What are some advantages of storing session state in cookies?
What is the difference between the http servlet and generic servlet?
how many jsp scripting elements are there and what are those?
What is cookie? Why is cookie used?
What is Servlets and explain the advantages of Servlet life cycle?
Explain the concept of ssi ?
What is servlet invoker?
How do I use cookies to store session state on the client?
What are the steps that are involved in using the httpservlet class?
What are the phases of the servlet life cycle?