RE: relative redirect problem using port mapping vip

2000-12-11 Thread Benoit Lalumiere (LMC)
, December 08, 2000 4:02 PM To: [EMAIL PROTECTED] Subject: Re: relative redirect problem using port mapping vip Technically you should never be relying on sending a relative redirect to begin with. The redirect method says that is should be an absolute URL. Here's the code we use in my

RE: relative redirect problem using port mapping vip

2000-12-11 Thread Nacho
Hola Benoit: properly. It takes the host name from the request header but takes the port from the web server (from HttpRequestAdapter.getServerPort). therefore creating a redirect url command with the right IP address but the wrong port (in our case 8080 i.o. 80). That seems to be a

RE: relative redirect problem using port mapping vip

2000-12-11 Thread Benoit Lalumiere (LMC)
, 2000 11:13 AM To: '[EMAIL PROTECTED]' Subject: RE: relative redirect problem using port mapping vip Hola Benoit: properly. It takes the host name from the request header but takes the port from the web server (from HttpRequestAdapter.getServerPort). therefore creating

RE: relative redirect problem using port mapping vip

2000-12-11 Thread Nacho
I ma still using 3.1 but I looked at the code of 3.2 and it is doing the same thing... from the redirect in the DefaultServlet class to the toAbsolute method in the HttpServletResponseFacade class and the HttpRequestAdapter.getServerPort() method Have a look in the

RE: relative redirect problem using port mapping vip

2000-12-11 Thread Benoit Lalumiere (LMC)
Message- From: Nacho [SMTP:[EMAIL PROTECTED]] Sent: Monday, December 11, 2000 11:39 AM To: '[EMAIL PROTECTED]' Subject: RE: relative redirect problem using port mapping vip I ma still using 3.1 but I looked at the code of 3.2 and it is doing the same thing... from the redirect

Re: relative redirect problem using port mapping vip

2000-12-08 Thread Joe Prevo
Technically you should never be relying on sending a relative redirect to begin with. The redirect method says that is should be an absolute URL. Here's the code we use in my project to overcome all of the redirect issues we ran into: protected String getServletUrl(HttpServletRequest req,