I am sure there are more than two ways... but those are the two I could
think of.
Rick Hightower
Developer
Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm
Struts/J2EE consulting --
http://www.arc-mind.com/consulting.htm#StrutsMentoring
-Original Message-
From: Richard Hightower [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 12:20 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: passing request parameter to mapping.findForward(alias)
there are at least two ways
static parameter?
forward path=foo.jsp?foo=bar/
dynamic? (in execute method)
ActionForward forward = mapping.findForward(success);
return new ActionForward(forward.getPath() + ?foo= + bar);
[check the java docs on the second one... i am doing it from memory, i've
done it before... it is the basic idea]
-Original Message-
From: N.N.S.S Ravi Krishna [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:13 PM
To: 'struts users'
Subject: passing request parameter to mapping.findForward(alias)
Hi All,
how to send a parameter along with the forward alias name in mapping
.findForward(xyz).any help is appreciated
thanks in advance,
ravi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]