 class="block">Called by the servlet container to allow the servlet to respond to a request.</div>
</div>
<div class="col-first odd-row-color"><code>void</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">Servlet.</span><code><a href="../Servlet.html#service(jakarta.servlet.ServletRequest,jakarta.servlet.ServletResponse)" class="member-name-link">service</a><wbr>(<a href="../ServletRequest.html" title="interface in jakarta.servlet">ServletRequest</a>&nbsp;req,
 <a href="../Serv