GE:org.apache.struts.util.PropertyMessageResou
> > [EMAIL PROTECTED]
> >
> >
> >
> > -Richard
> >
> > -Original Message-
> > From: Yee, Richard K,,DMDCWEST
> [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 20, 2003 11:46 AM
&
, November 20, 2003 2:18 PM
To: Struts Users Mailing List
Subject: RE: ForwardAction with Redirect
Yes I know that, but do to some issues that I don't
really understand with respect to virtual hosting, we
are not able to do any forwards and therefore we're
left with doing nothing but red
ED]
> Sent: Thursday, November 20, 2003 11:46 AM
> To: 'Struts Users Mailing List'
> Subject: RE: ForwardAction with Redirect
>
>
> Juan,
> If you change ForwardAction to do a redirect instead
> of a forward, then you
> will lose everything in the request o
There's not a whole lot of redirect support built in.
I use it a lot on my webapps and I'm interested in
submitting code for more redirect support, but when
I try to bring it up in the dev list, I don't get a
response.
Of course, I haven't contributed anything anywhere yet so
I may be going
]
org.apache.struts.action.MESSAGE:org.apache.struts.util.PropertyMessageResou
[EMAIL PROTECTED]
-Richard
-Original Message-
From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 11:46 AM
To: 'Struts Users Mailing List'
Subject: RE: ForwardAction with Redirect
Ju
ailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 11:36 AM
To: Struts Users Mailing List
Subject: RE: ForwardAction with Redirect
That's not what it sounds like he wants. He wants a generic action that he
can throw a path at and have it perform a redirect instead of a forward.
I d
t;
>
>
> You don't need to write your own ForwardAction at all.
>
> This is pretty common.
>
> -Richard
>
>
> -Original Message-
> From: Juan Alvarado [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2003 11:09 AM
> To: Strut
Yee, Richard K,,DMDCWEST wrote:
Rick is right. All you need to do is set the redirect attribute of your
forward to "true" like in this example:
I was wrong.. Juan was talking about ForwardAction not ActionForward
(confusing I know:).
--
Rick
--
EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 11:09 AM
To: Struts Users Mailing List
Subject: Re: ForwardAction with Redirect
Hi Hubert:
Thanks for the tip on that. I will give it a try.
I wonder why they just don't add this to the
distribution. It seems like a simple enough thing.
Ta
Hi Hubert:
Thanks for the tip on that. I will give it a try.
I wonder why they just don't add this to the
distribution. It seems like a simple enough thing.
Take care
--- Hubert Rabago <[EMAIL PROTECTED]> wrote:
> It doesn't. ForwardAction generates ActionForward
> objects specifying only the
It doesn't. ForwardAction generates ActionForward objects specifying only the
path and the contextRelative properties.
Juan, the good news is its easy to write your own. Just copy the ForwardAction
code and add "retVal.setRedirect(true);" in the execute() method, then point your
action mapping t
Juan Alvarado wrote:
Is there any way to configure
org.apache.struts.actions.ForwardAction
to do a redirect instead of a forward.
Hey Juan, what's up:)
Maybe I'm missing your question but in you action mapping you could just
add redirect="true". Would that accomplish what you need?
--
Rick
Is there any way to configure
org.apache.struts.actions.ForwardAction
to do a redirect instead of a forward.
Thanks
__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
-
PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 19, 2003 10:11 AM
Subject: ForwardAction with redirect
> I saw a Bugzilla post from someone who needed to use ForwardAction but get
a
> redirect rather than a forward, and suggested impl
I saw a Bugzilla post from someone who needed to use ForwardAction but get a
redirect rather than a forward, and suggested implementing a
RedirectAction -- did that ever get done? How are folks handling this
scenario?
-
To unsub
15 matches
Mail list logo