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 servlet container. how it works?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is servlet instance?
What do you mean by servlet context?
What is the major difference between servlet and applet?
If some new data has entered the database, explain how can a servlet refresh automatically?
How do we translate jsp?
what is multiple server?
What is the
Which are the different ways you can communicate between servlets?
Explain url encoding?
What is the purpose of dispatcherservlet properties?
What are important features of Servlet 3?
What is servlet used for?
How is the get () method different from the post() method?