Hi guys.. Well can u tell me that why there is need of
"init()" , i mean why can not we initialize the servlet object
with the help of constructors?
Thank you.
Answer Posted / ravikiran.chd
no the servlet config object is only available at the time
init() method call
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is servlet looping or chaining?
What is the difference between using getSession(true) and getSession(false) methods?
What do you mean by httpservlet and how it is different from the genericservlet?
What is Servlet API used for connecting database?
Explain the concept of ssi ?
What is servlet attributes and their scope?
What is difference between get and post method?
List out difference between a JavaBean from a Servlet?
What is the directory structure of a war file?
What are the exceptions thrown by servlets? Why?
How to get the IP address of client in servlet?
How can a servlet be used to generate plain text instead of html?
What are different methods of session management in servlets?
What is http servlet?
What is the difference between Server and Container?