axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <bu...@us.ibm.com>
Subject RE: cvs commit: xml-axis/java/src/org/apache/axis/transport/http AxisServlet.java
Date Thu, 21 Mar 2002 15:11:43 GMT
Sorry, my long-term memory gets flushed way too often.  I don't remember
this being discussed before.

I can back it out (and put in the big honkin comment).

Russell Butek
butek@us.ibm.com


Glen Daniels <gdaniels@macromedia.com> on 03/21/2002 08:46:21 AM

Please respond to axis-dev@xml.apache.org

To:    "'axis-dev@xml.apache.org'" <axis-dev@xml.apache.org>
cc:
Subject:    RE: cvs commit:
       xml-axis/java/src/org/apache/axis/transport/http
       AxisServlet.java




Are you sure this works, Russell?  We've gone back and forth on this one
three times now.  Clearly I should have put a big honking comment over this
code (I think I might have the first time...) - when I tested this from
remote hosts, req.getRequestURL() returned "http://localhost...." instead
of HttpUtils.getRequestURL()'s correct "http://my.real.name....".

Unfortunately there is no real way to test this against your own machine.

--Glen

> -----Original Message-----
> From: butek@apache.org [mailto:butek@apache.org]
> Sent: Thursday, March 21, 2002 9:13 AM
> To: xml-axis-cvs@apache.org
> Subject: cvs commit: xml-axis/java/src/org/apache/axis/transport/http
> AxisServlet.java
>
>
> butek       02/03/21 06:13:18
>
>   Modified:    java/src/org/apache/axis/transport/http
> AxisServlet.java
>   Log:
>   Remove deprecation warning.
>
>   Revision  Changes    Path
>   1.89      +1 -2
> xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java
>
>   Index: AxisServlet.java
>   ===================================================================
>   RCS file:
> /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/Axi
> sServlet.java,v
>   retrieving revision 1.88
>   retrieving revision 1.89
>   diff -u -r1.88 -r1.89
>   --- AxisServlet.java      8 Mar 2002 16:32:04 -0000     1.88
>   +++ AxisServlet.java      21 Mar 2002 14:13:17 -0000    1.89
>   @@ -80,7 +80,6 @@
>    import javax.servlet.http.HttpServletRequest;
>    import javax.servlet.http.HttpServletResponse;
>    import javax.servlet.http.HttpSession;
>   -import javax.servlet.http.HttpUtils;
>    import java.io.ByteArrayInputStream;
>    import java.io.File;
>    import java.io.IOException;
>   @@ -256,7 +255,7 @@
>
>                try {
>
>   -                String url =
> HttpUtils.getRequestURL(req).toString();
>   +                String url = req.getRequestURL().toString();
>
>
> msgContext.setProperty(MessageContext.TRANS_URL, url);
>
>
>
>
>



Mime
View raw message