ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  How Servlet Containers Work
Subject:   Servlet init() method not getting called
Date:   2008-06-19 13:46:41
From:   jtai1111
Response to: Servlet init() method not getting called

NDLexus,
The init() method in any servlet cannot be called until there is a request to the servlet container. We cannot control the calling of the init() method. So you don't directly call the init() method, the servlet container does.


-hope this helps