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 a server side include (ssi)
Explain load on start-up and its importance?
What is servlet instance?
How can we refresh automatically when new data is entered into the database?
What are some advantages of storing session state in cookies?
Write all the phases defined in servlet life cycle?
Can you use javascript in servlets?
Which http method is said to be non-idempotent and idempotent?
What is the difference between portlet and servlet?
Can you create a deadlock condition on a servlet?
Explain url encoding in servlet?
Can we use the constructor, instead of init(), to initialize servlet?
What are the various ways of session supervision in servlets?
Can we refresh servlet in client and server side automatically?
What are the two important api's in for servlets?