/dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">HttpServlet</span>
extends <a href="../../../jakarta/servlet/GenericServlet.html" title="class in jakarta.servlet">GenericServlet</a></pre>
<div class="block">Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A subclass of
 <code>HttpServlet</code> must override at least one method, usually one of these:

 <ul>
 <li><code>doGet</code>, if the servlet supports HTTP GET requests
 <li><code>doPost