ature">public&nbsp;<a href="ServletContext.html" title="interface in jakarta.servlet">ServletContext</a>&nbsp;getServletContext()</pre>
<div class="block">Gets the servlet context to which the wrapped servlet request was last dispatched.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="ServletRequest.html#getServletContext()">getServletContext</a></code>&nbsp;in interface&nbsp;<code><a href="ServletRequest.html" title="interface in jakarta.servlet">ServletReques