The other guys advice was great for your issue,
the
parameter=
is in the struts-config.xml action definition and used for running a
particular method in your action class,
then in that method you can put parameters via the
request.setParameter(
hope this helps.
<action path="/MyAction"
type="com.me.my.actions.MyAction"
name="myForm"
input="/my.jsp"
scope="request"
parameter="dispatch"
validate="true">
<forward name="refresh" path="/MyAction.do?dispatch=list"/>
</action>
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/11/2005 3:07:56 PM >>>
Hi Eric,
I am a little confused. I have been using this for a while. But with
another fw layer on top which allows passing up to 4 args. Are you
telling
me that struts never support this syntax in struts config since 1.1?
Where would I put parameter="dispatch"?
-Betty
-----Original Message-----
From: Eric Lemle [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 2:02 PM
To: [email protected]
Subject: Re: argument to struts config forward mapping
parameter="dispatch"
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/11/2005 2:58:28 PM >>>
Does 1.2.4 support the following?
<action path="/processSimple" ... >
<forward name="success" path="/jsp/simple/SimpleResults.jsp?id={0}"
redirect="true" />
</action>
How would pass the argument in Action? Thanks.
-Betty
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]