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 the use of servlet context?
What is getservletcontext?
Why is a constructor needed in a servlet even if we use the init method?
What is a cookie What is the difference between session and cookie
What are the difference between RMI and Servlets?
What is servlet used for?
What are the types of servlet?
Is servlet thread safe?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is session tracking?
Can you explain in detail 'javax.servlet' package?
Explain mvc pattern.
Which event is fired at the time of project deployment and undeployment?
What is servlet and list its types?
What is a servlet context object?