struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dao Cong Hung (FSU17.BU68)" <Hun...@fsoft.com.vn.INVALID>
Subject RE: Pass a parameter from action to other action with type result "chain"
Date Mon, 27 Mar 2017 07:31:11 GMT
<action name="action1"
			class="jp.co.fujixerox.eappli.printapp.struts.PostLauncherAction">
			<result name="error" type="chain">
				<param name="actionName">action2</param>
				<param name="name">close</param>
			</result>
</action>
<action name="action2"
			class="jp.co.fujixerox.eappli.printapp.struts.PostLauncherAction">
			<result name="success">/jsp/showResult/success.jsp</result>
</action>
So at controller of action2, I use request.getParameters("name")=null;
-----Original Message-----
From: Lukasz Lenart [mailto:lukaszlenart@apache.org] 
Sent: Mondàà 27 März 2017 14:25
To: Struts Users Mailing List
Subject: Re: Pass a parameter from action to other action with type result "chain"

2017-03-27 9:16 GMT+02:00 Dao Cong Hung (FSU17.BU68)
<HungDC@fsoft.com.vn.invalid>:
> Dear all,
> I have a problem. When I  pass a parameter from action to other action , why it is not
support?

More details please.... Struts version, configuration, etc., hard to guess what problem do
you have.


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Mime
View raw message