ailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Saturday, June 11, 2005 12:25 AM
To: user@struts.apache.org
Subject: Re: Adding parameter to local forwards
If a redirect rather than a forward is acceptable, you can also look at
ActionRedirect (new in 1.2.7).
ActionForwar
Thank you all for the replies...that was i'm looking for ;)
If a redirect rather than a forward is acceptable, you can also look at
ActionRedirect (new in 1.2.7).
ActionForward fwd = mapping.findForward(...);
ActionRedirect ar = new ActionRedirect(fwd);
ar.addParameter("name", f.getString("name"));
return ar;
L.
Michael
Something like this:
ActionForward af = mapping.findForward("showParentForm");
return new ActionForward(
actionForward.getName(),
actionForward.getPath() + "?drawing_id=24",
actionForward.getRedirect()
);
You must create a new instance of ActionForward, you cannot change
existing one, since
Hi all, I have a configuration like this one below:
now inside the SubmitDrawingUploadAction class usually i just need the
following statement to forward to DrawingUpdate.do :
return mapping.findForwards("showParentForm");
the question is, what if I want to add extra parameter?? so it would
5 matches
Mail list logo