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 walk
MAIL PROTECTED]]
> Sent: Monday, November 18, 2002 11:28 AM
> 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
EMAIL 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
st" <[EMAIL PROTECTED]>
To: Struts Developers List <[EMAIL PROTECTED]>
Subject: Re: Forwards, Absolute URIs and Leading Slash [LONG]
Date: Mon, 18 Nov 2002 08:13:05 -0500
11/16/2002 9:19:51 PM, David Graham <[EMAIL PROTECTED]>
wrote:
>I was trying to fix
http://nagoya.apac
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
>url
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 wit