Why servlet initialization is done using init() rather than a constructor? thanks in advance sunil.
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
posted
0
Constructors for dynamically loaded classes (such as servlets) could not accept arguements. Using the init method serves to provide for any initialization that may be needed.
Bosun
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley