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
How can we create deadlock situation in servlet?
How do you create a cookie using servlet?
What are the phases of a servlet life cycle?
Explain the jar and war files in servlet?
What is load-on-startup in servlet?
What do you mean by deployment descriptor?
What do you mean by session tracking and also explain its techniques?
How is the get () method different from the post() method?
What are the different ways we can maintain state between requests?
Explain the role of dispatcherservlet and contextloaderlistener.
What do you mean by web applications?
What are different ways for servlet authentication?
Explain load on start-up and its importance?
What are the functions of the servlet container?
What is ServletContext object?