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 [EMAIL PROTECTED] Glen Daniels <[EMAIL PROTECTED]> on 03/21/2002 08:46:21 AM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 21, 2002 9:13 AM > To: [EMAIL PROTECTED] > 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); > > > > >