The attached file is to update the servlet2.4 API.
jsr154/src/share/javax/servlet/ServletRequest.java Fix the confusing description in getServerName() and getServerPort() - change "host header" to "host header value".
thank you, yutaka yoshida Sun Microsystems, Inc.
Index: jsr154/src/share/javax/servlet/ServletRequest.java =================================================================== RCS file: /home/cvspublic/jakarta-servletapi-5/jsr154/src/share/javax/servlet/ServletRequest.java,v retrieving revision 1.8 diff -u -r1.8 ServletRequest.java --- jsr154/src/share/javax/servlet/ServletRequest.java 30 Sep 2003 19:49:00 -0000 1.8 +++ jsr154/src/share/javax/servlet/ServletRequest.java 1 Oct 2003 00:52:29 -0000 @@ -351,7 +351,7 @@ /** * Returns the host name of the server to which the request was sent. * It is the value of the part before ":" in the <code>Host</code> - * header, if any, or the resolved server name, or the server IP address. + * header value, if any, or the resolved server name, or the server IP address. * * @return a <code>String</code> containing the name * of the server @@ -365,7 +365,7 @@ /** * Returns the port number to which the request was sent. * It is the value of the part after ":" in the <code>Host</code> - * header, if any, or the server port where the client connection + * header value, if any, or the server port where the client connection * was accepted on. * * @return an integer specifying the port number
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]