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 do you mean by filter in servlet?
Should I override the service() method?
What is the major difference between context parameter and context attribute?
Why don't we write a constructor in a servlet?
What is the need of session tracking in web application?
How is an application exception handling is done using a servlet?
What is the difference between Server and Container?
How to get the path of servlet in the server?
What are the features added in Servlet 2.5?
Given the request path below, which are context path, servlet path and path info?
If a servlet is not properly initialized, what exception may be thrown?
Explain the architechure of a servlet?
How can we create deadlock situation in servlet?
What is context in servlet?
What is servlet attributes and their scope?