e 2000 17:52
> > Para: '[EMAIL PROTECTED]'
> > Asunto: RE: relative redirect problem using port mapping vip
> >
> >
> > yes it does solve the problem thanks, I guess I missed that
> > change when I
> > did my diffs.
> >
> > but wher
At requestImpl.initRequest()
Saludos ,
Ignacio J. Ortega
> -Mensaje original-
> De: Benoit Lalumiere (LMC) [mailto:[EMAIL PROTECTED]]
> Enviado el: lunes 11 de diciembre de 2000 17:52
> Para: '[EMAIL PROTECTED]'
> Asunto: RE: relative redirect probl
nal 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
>
> 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 HttpRequestAdapte
cember 11, 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
> >
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
> Sent: Friday, 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 UR
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, S
Hi all
we use tomcat as a web server on multiple processors having different IP
addresses behind a VIP portal. The VIP maps Ip adreeses and ports also
(therefore a request send to port 80 can reach a processor with port 8080,
etc.).
When doing a relative redirect (response.sendRedirect method),