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 / karnbakar
as a programmer u cant create object for servlet ,container
invokes default constructor of the servlet
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which exception is thrown if the servlet is not initialized properly?
What is a servlet context object?
Why don't we write a constructor in a servlet?
What's the architecture of a servlet package?
What is the difference between Server and Container?
What is a server side include (ssi)
Explain load on start-up and its importance?
The code in a finally clause will never fail to execute, right?
Can we override servlet service method?
Write a command to get actual path of a servlet to the server?
What are the different session tracking techniques?
What is a servlet engine?
What is servlet lazy loading?
What is the functionality of actionservlet and requestprocessor?
What do you mean by annotations in servlet?