how a servlet is instantiated, whether the container calls
init() or by calling any other method? please somebody reply..
Answer Posted / aruna
servlet is instantiated after the .class file is loaded on
the memory.Then, the instance will be initialized by calling
init()
Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
Define the servlet mapping.
Can we fetch the attributes related to a servlet on a different servlet?
Describe some assignments that are executed by servlet container?
What is servlet mapping?
What is servlet and how it works?
What is the difference between a generic servlet and http servlet?
What exactly is a servlet?
Who is responsible for writing a constructor?
Who is responsible to create the object of servlet?
Differentiate between the web server and application server?
How are filters?
How can you use a servlet to generate a plain text instead of html?
How can you run a servlet program?
What is the difference between servlet and filter?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?