On Wed, September 14, 2005 2:37 pm, Max Cooper said:
> Two notes:
>
> 1. Be careful when modifying ActionForwards to make sure that you aren't
> modifying the shared, system-wide instance. That can be a nasty side
> effect. You can make a copy of the ActionForward object, change it, and
> return th
add any parameters
> > to the request object via the setAttribute method.
> >
> > -Original Message-
> > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> > Sent: 14 September 2005 08:46
> > To: Struts Users Mailing List
> > Subject: Re: Adding parameters to redirected
Attribute method.
>
> -Original Message-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sent: 14 September 2005 08:46
> To: Struts Users Mailing List
> Subject: Re: Adding parameters to redirected forwards
>
> Xavier Vanderstukken wrote:
>> IS that class really performs a
Frank W. Zammetti wrote:
Xavier Vanderstukken wrote:
IS that class really performs a redirect request?
Can I use the setForward method to false to performs a forward with
parameters?
Interesting question... someone can correct me if I'm wrong, but I
believe the answer is no. Well, to be mo
If you want to just forward the request along, just add any parameters
to the request object via the setAttribute method.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: 14 September 2005 08:46
To: Struts Users Mailing List
Subject: Re: Adding parameters to
Xavier Vanderstukken wrote:
IS that class really performs a redirect request?
Can I use the setRedirect method to false to performs a forward with
parameters?
Interesting question... someone can correct me if I'm wrong, but I
believe the answer is no. Well, to be more precise, you *may* be a
Wojciech Ciesielski wrote:
THX :]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
IS that class really performs a redirect request?
Can I use the setRedirect method to false
THX :]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Wojtek,
You'll need to return an ActionRedirect (subclass of ActionForward).
This class includes an addParameter() method. You can use the
constructor to copy the ActionConfig you get from mapping.findForward(),
i.e.:
ActionRedirect ar = new
ActionRedirect(mapping.findForward("showSaved
9 matches
Mail list logo