What is the difference between the Http Servlet and Generic Servlet?
Generic Servlet can handle all types of requests. As it has a service () method, it is independent, whereas Http Servlet extends the generic servlet and supports the HTTPmethods such as doGet (), doPost (), doHead (), doTrace (), etc.