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
How do servlets work?
What is httpservlet and how it is different from genericservlet?
What is Servlet API used for connecting database?
Explain mvc pattern.
Can we use the constructor, instead of init(), to initialize servlet?
What do you mean by interservlet communication?
What are the mechanisms used by a servlet container for maintaining session information?
How do I support both get and post from the same servlet?
Why the container loads server at the application startup and how?
What is http servlet? Explain with the help of an example.
What is called Session Tracking?
How does tomcat servlet container work?
What is difference between server and servlet?
What is called a session?
How can we create deadlock situation in servlet?