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 to generate the server side programming and the advantages of it over the other languages?
What is a servlet-to-servlet communcation?
What is api in servlet?
How do I use cookies to store session state on the client?
What is the use of servletconfig interface?
What is the difference between 2 types of servlets?
Where do you define dispatcherservlet?
Name the different ways of session tracking.
Which java application server is the best?
What is servletconfig?
When servlet object is created?
Describe some assignments that are executed by servlet container?
What are important features of Servlet 3?
What is the use of attribute in servlets?
How do I support both get and post from the same servlet?