Originally posted by srinivasan doraiswamy:
calling init method without passing servletconfig as a parameter inside init method
you must know this about init() The container initializes the servlet by invoking its init() method, passing
an object implementing the ServletConfig interface. In the init() method, the
servlet can read configuration parameters from the deployment descriptor or perform
any other one-time activities, so the init() method is invoked once and only once by
the servlet container.