yoavs 2005/05/03 07:29:26 Modified: webapps/docs changelog.xml proxy-howto.xml Log: Bugzilla 34675. Revision Changes Path 1.303 +3 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.302 retrieving revision 1.303 diff -u -r1.302 -r1.303 --- changelog.xml 3 May 2005 14:12:52 -0000 1.302 +++ changelog.xml 3 May 2005 14:29:25 -0000 1.303 @@ -136,6 +136,9 @@ <fix> <bug>34273</bug>: Better Bootstrap warning message. [Path from Ralf Hauser] (yoavs) </fix> + <update> + <bug>34675</bug>: Updated Proxy-HowTo page with Servlet API calls. (yoavs) + </update> </changelog> </subsection> 1.7 +5 -3 jakarta-tomcat-catalina/webapps/docs/proxy-howto.xml Index: proxy-howto.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/proxy-howto.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- proxy-howto.xml 8 Jan 2004 14:55:57 -0000 1.6 +++ proxy-howto.xml 3 May 2005 14:29:25 -0000 1.7 @@ -21,11 +21,13 @@ processing. When Tomcat is running standalone with the <a href="config/coyote.html">Coyote HTTP/1.1 Connector</a>, it will generally report the server name specified in the request, and the port number on -which the <strong>Connector</strong> is listening. The two servlet API +which the <strong>Connector</strong> is listening. The servlet API calls of interest, for this purpose, are:</p> <ul> -<li><code>ServletRequest.getServerName()</code></li> -<li><code>ServletRequest.getServerPort()</code></li> +<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.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> <p>When you are running behind a proxy server (or a web server that is
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]