In 1.0, the way we do that is to use an Action that returned an
ActionForward with redirect=true. In 1.1, we can elevate that
approach to a standard RedirectAction -- at least, once I fix the
bug in * that prepends a slash to everything whether redirect is
set to true or not =:0)
I took a
11/16/2002 9:19:51 PM, David Graham [EMAIL PROTECTED]
wrote:
I was trying to fix
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11021
but got rather confused along the way. The problem seems to be
that
RequestUtils.forwardURL() always prepends the context path even
for absolute
urls.
PROTECTED]]
Sent: Monday, November 18, 2002 10:31 AM
To: [EMAIL PROTECTED]
Subject: Re: Forwards, Absolute URIs and Leading Slash [LONG]
Thanks for the explanation Ted. What if I want to redirect to another
server from an Action? I need to return an ActionForward with
redirect=true. Will your
To: 'Struts Developers List'
Subject: RE: Forwards, Absolute URIs and Leading Slash [LONG]
Perhaps I am missing something as there has been a great deal of
discussion about allowing an action to forward outside of the container
from an action in struts-config.xml.
My question is what
I was trying to fix http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11021
but got rather confused along the way. The problem seems to be that
RequestUtils.forwardURL() always prepends the context path even for absolute
urls. The version comments seem to go back and forth on how to behave