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
What is the procedure of invoking different servlet in a different application?
How to find whether a parameter exists in the request object?
The code in a finally clause will never fail to execute, right?
What are the features added in Servlet 2.5?
What is difference between cookies and httpsession?
What is dispatcher servlet?
What do you mean by default initialization in java servlet?
Is servlet a controller?
What is the difference between Servlets and Applets?
Which protocol will be used by browser and servlet to communicate
What are the differences between servlet context vs servlet config?
What are the objects involved when a servlet receives a call from client?
What is the difference between using getSession(true) and getSession(false) methods?
What is the difference between 2 types of servlets?
What are sessions in servlets?