Generic Servlet Class
It is an abstraction class that inherits the Servlet interface. The method of servlet interface is overridden in Generic Servlet class.
The user has to inherit the GenericServelt class for developing a servlet page. The can over write only the required life cycle methods belonging to servlet interface.
In other words it is not necessary for the user to override all the methods of servlet interface.
View for more information about Servlet Interface Servlet Interface in Java