Difference between Generic Servlet and HTTP Servlet?

Answer Posted / sudha rani

A GenericServlet has a service() method aimed to handle
requests. HttpServlet extends GenericServlet and adds
support for doGet(), doPost(), doHead() methods (HTTP 1.0)
plus doPut(), doOptions(), doDelete(), doTrace() methods
(HTTP 1.1).
Both these classes are abstract.

Is This Answer Correct ?    20 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jdbc databasemetadata interface?

547


Is odbc an api?

515


What is sqlwarning?

551


What are the common tasks of JDBC?

566


What is jsp and jdbc?

493






What are restrictions on triggers?

1672


What are the flow statements of jdbc?

522


Is not bound in this context unable to find jdbc spring boot?

494


What are the ddl statements?

473


What is url in jdbc connection?

505


What causes the "No suitable driver" error?

534


What is xe in oracle jdbc url?

538


What is represented by the connection object?

526


What is the use of jdbc?

560


How you restrict a user to cut and paste from the html page using java programing?

477