TOC PREV NEXT INDEX



Differences between Servlets and HttpServlets


HttpServlets are similar to Servlets, except tailored to the HTTP protocol. On the Servlet Methods page, in place of the "Service" method, HttpServlets have four methods, which correspond to the four HTTP commands.

The doGet and doPost methods are most commonly used. They respond to an HTTP "GET" request and an HTTP "POST" request.

HttpServlets also receive more information in the request headers, and can send special http error codes.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX