Why GenericServlet.init(ServletConfig config)'s invocation on GenericServlet.init() can save my call to super.init(config) from my overriding init(ServletConfig config)?
In other words,
The
Servlet Spec says that:
public void init()
throws ServletExceptionA convenience method which can be overridden so that there's no need to call super.init(config).
Instead of overriding init(ServletConfig), simply override this method and it will be called by GenericServlet.init(ServletConfig config). The ServletConfig object can still be retrieved via getServletConfig().
Who can explain more on it?
Thanks,
-Jimmy
[ March 25, 2003: Message edited by: Jimmy Chiu ]
[ March 25, 2003: Message edited by: Jimmy Chiu ]