If u want to initialize ur servlet to some default values ,while loading, u can use getInitParameter or similar methods found in ServletConfig. thats why u r initializing that. it is useful to establish Database connections.
Hi, A servlet extends HttpServlet, which extends GenericServlet. If you write a method called init(ServletConfig sc), you override the old method, and lose the work it was doing. By calling super.init(sc) you take advantage of it, and it's not you problem anymore to write code to properly init all the servlet.
[This message has been edited by cata lin (edited October 18, 2000).]
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss