tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angelov, Rossen" <Rossen.Ange...@SourceMedia.com>
Subject RE: sending redirects to relative/absolute URLs
Date Fri, 20 May 2005 14:36:36 GMT
Len,
Can you point me a place where I can read about these HTTP requirements?

I thought this might be the case but I couldn't find anything helpful
online. Probably didn't search enough.

-----Original Message-----
From: Len Popp [mailto:len.popp@gmail.com]
Sent: Friday, May 20, 2005 9:28 AM
To: Tomcat Users List
Subject: Re: sending redirects to relative/absolute URLs


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

"This communication is intended solely for the addressee and is
confidential and not for third party unauthorized distribution."


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message