Difference between genericservlet and httpservlet in java
Answers
Answered by
0
The main difference is that,HttpServlet is a protocol dependent whereas GenericServlet is protocol independent. ... HttpServlet is an abstract class which extendsGenericServlet and implementsjava.io.Serializable interface. ->GenericServlet supports only service() method does not contain doGet() and doPost() methods.
Similar questions