
What is the GenericServlet class?

GenericServlet makes writing servlets easier. To write a generic servlet, all you need to do is to override the abstract service method.

It is nothing but a class which is a direct subclass of Servlet interface, generic class is overriding all the methods which is declared in servlet interface except one which is "service()"method thats why it is declared as Abstract class.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.