tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Len Popp <len.p...@gmail.com>
Subject Re: sending redirects to relative/absolute URLs
Date Fri, 20 May 2005 14:27:36 GMT
No, because the HTTP protocol requires an absolute URL in redirect responses.

On 5/20/05, Angelov, Rossen <Rossen.Angelov@sourcemedia.com> wrote:
> Hi,
> Does anybody know why Tomcat always redirects to absolute links?
> 
> I looked at the implementation and the sendRedirect calls the toAbsolute
> method which always constructs an absolute URL.
> Is there any way to make Tomcat return relative URLs the way they were
> requested for redirecting?
> 
> Ross
> 
> 
> "This communication is intended solely for the addressee and is
> confidential and not for third party unauthorized distribution."

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message