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 must be implemented by all servlets?
If servlet receives multiple requests, how many objects will it create?
Why servlet is used as controller ? Not JSP? I want complete explation?
What are the different methods of session management in servlets?
Explain the features are in servlet 3?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is meant by Servlet? What are the parameters of service method?
What is the dispatcher servlet?
How can we refresh automatically when new data has entered the database?
Is tomcat a servlet container?
How can an existing session be invalidated?
Differentiate between get and post?
What are its drawbacks of cgi?
What do you mean by singlethreadmodel interface?
What is MIME Type?