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
What is servlet looping or chaining?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
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()?
Whether we can get deadlock situation in servlets?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is cookies in servlet with example?
Explain web container.
How can I send user authentication information while making URL Connection?
Which httpsession object is used to view and manipulate information about a session?
Explain the working of service() method of a servlet.
What is the difference between the http servlet and generic servlet?
When servlet object is created?
How does Cookies work in Servlets?
Which HTTP method is non-idempotent?
How do we share data using 'getservletcontext ()?