title: Why is ServletConfig obj passed to init() of GenericServlet when the class implements the interface?
body: <p><code>GenericServlet</code> implements <code>ServletConfig</code> interface which means all the interface functions can be invoked from <code>init()</code> function of <code>GenericServlet</code>. Given this context, why does the Servlet container sends <code>ServletConfig</code> object to <code>init()</code> method? I would also like to know if the <code>ServletConfig</code> object that is passed to <code>GenericServlet.init(ServletConfig)</code> different from GenericServlet object. </p>
  
  <p>Regards, 
  Ravi</p>