Author: violetagg Date: Wed Mar 9 07:30:07 2016 New Revision: 1734192 URL: http://svn.apache.org/viewvc?rev=1734192&view=rev Log: Correct the description of the ServletRequest.getServerPort() in Proxy How-To. Issue reported via comments.apache.org.
Modified: tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/docs/proxy-howto.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1734192&r1=1734191&r2=1734192&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Wed Mar 9 07:30:07 2016 @@ -253,6 +253,11 @@ <bug>58935</bug>: Remove incorrect references in the documentation to using <code>jar:file:</code> URLs with the Manager application. (markt) </fix> + <fix> + Correct the description of the + <code>ServletRequest.getServerPort()</code> in Proxy How-To. + Issue reported via comments.apache.org. (violetagg) + </fix> </changelog> </subsection> <subsection name="Other"> Modified: tomcat/trunk/webapps/docs/proxy-howto.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/proxy-howto.xml?rev=1734192&r1=1734191&r2=1734192&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/proxy-howto.xml (original) +++ tomcat/trunk/webapps/docs/proxy-howto.xml Wed Mar 9 07:30:07 2016 @@ -44,7 +44,7 @@ which the <strong>Connector</strong> is calls of interest, for this purpose, are:</p> <ul> <li><code>ServletRequest.getServerName()</code>: Returns the host name of the server to which the request was sent.</li> -<li><code>ServletRequest.getServerPort()</code>: Returns the host name of the server to which the request was sent.</li> +<li><code>ServletRequest.getServerPort()</code>: Returns the port number of the server to which the request was sent.</li> <li><code>ServletRequest.getLocalName()</code>: Returns the host name of the Internet Protocol (IP) interface on which the request was received.</li> <li><code>ServletRequest.getLocalPort()</code>: Returns the Internet Protocol (IP) port number of the interface on which the request was received.</li> </ul> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org