how a servlet is instantiated, whether the container calls
init() or by calling any other method? please somebody reply..
Answer Posted / harikumar
if we deploy our web root dir in webapps , then we call url
from the browser.
then after loading , it calls the init() method first.
There r two tow init() methods(first init() & second init
()).
Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
What is getservletcontext?
What is difference between cookies and httpsession?
What are the uses of servlets?
What is a generic servlet?
What do you mean by servlet context?
Elucidate servlet attributes and its scope?
What is the use of servlet wrapper classes?
Which is the methods of generated servlet?
Why servlet is used as controller ? Not JSP? I want complete explation?
Which method is called when reference variable is passed in system.net?
How can an existing session be invalidated?
Write the code to get the server information in servlet.
Explain the concept of ssi ?
How do I use cookies to store session state on the client?
What are the types of protocols supported by httpservlet ?