tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angelov, Rossen" <Rossen.Ange...@SourceMedia.com>
Subject sending redirects to relative/absolute URLs
Date Fri, 20 May 2005 13:53:41 GMT
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."


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