Originally posted by rex tony:
In Servlet,
In Servlet Interface which has method name is called Init(ServletConfig con),
In Generic Servlet Abstract class has Init() method.
What is the difference of the both?
HI:
First,Servlet Interface is a interface,the method in Servlet is only a
declare.Generic Servlet implements Serlvet interface,so it must implement
all the methods in Servlet.So,Init() method in Servlet or Generic Servlet,one is declare,the other is implement;