title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../jakarta/servlet/Servlet.html" title="interface in jakarta.servlet">Servlet</a>&nbsp;getServlet()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As of Java Servlet API 2.2, with no replacement.

 Returns the servlet that is reporting its unavailability.</span></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>Servlet</code> object that i