servlet?

cavinwebsite

New member
May 5, 2012
1
0
0
:cool2:Can we use the constructor, instead of init(), to initialize servlet?

Regards,
Web Designing in India
cavin.in
 


I think what you want is a server, not a servlet, as that sounds like only part of the solution (like piglet). Maybe try server() instead.
 
The servlet container calls the constructor and per the servlet spec it's required to be a no-arg idempotent constructor that doesn't traverse instruction frames. NUB.