vijaya
Posts: 5
Nickname: vijji
Registered: Dec, 2002
|
|
Re: Servlet Does have Comstructor ?
|
Posted: Jul 20, 2004 6:28 AM
|
|
Servlets doesn't have any constructors.Even if we give any constructors,it's not going to be affected.
Servlets get initiated in the init method of servlet.This method is called only once in the lifetime of the servlet. Servlets get recieve the request from the client and send the response to the client in service method. Servlets get destroyed in the destroy method.When we do any modification or delted the servlet from the container then ,this destory method is called.
Thanks & Regards Vijaya.
|
|