rvletRequest.html#getLocalPort()">getLocalPort</a></code>&nbsp;in interface&nbsp;<code><a href="ServletRequest.html" title="interface in jakarta.servlet">ServletRequest</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an integer specifying a port number</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>Servlet 2.4</dd>
</dl>
</li>
</ul>
<a id="getServletContext()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServletContext</h4>
<pre class="methodSign