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
Hindi,
8 months ago
Social Sciences,
8 months ago
English,
8 months ago
Computer Science,
1 year ago
Math,
1 year ago
Science,
1 year ago