| Author |
how server will know ?
|
Sakthi Kani
Ranch Hand
Joined: Mar 29, 2005
Posts: 98
|
|
Hi How the server will know, when it can invoke init, service,destroy methods of servlet life cycle? Thanks in advance.
|
" Don't be afraid of pressure. Remember that pressure is what turns a lump of coal into a diamond... " <br /> <br />Thanks & Regards...<br />Sakthi<br />SCJP1.4, OCA
|
 |
vidya sagar
Ranch Hand
Joined: Mar 02, 2005
Posts: 580
|
|
HI sakthi Init() When a class is loaded its init method is called (class is loaded on first request or on specifying in DD by giving <load-on-startup>tag) service() For each Request from client, service method is called Destroy When server is shutdown hth(hope this helps--Bert Bates)
|
 |
 |
|
|
subject: how server will know ?
|
|
|