prashant chindhade wrote:The constructor is called by the container simply to create a POJO (plain old java object).
init method is the method which is invoked when servlet in called and it adds values to the servlet context so its a very much difference between constructor and init method...
regs
Prashant
It's not when the servlet is called but initialized. And it happens only once, as I told you in a different
thread.