RE: Pass a parameter from action to other action with type result "chain"
-I convert struts1 to struts2--- -Struts1: /jsp/showResult/success.jsp " /> =>So at controller of action2 in class PostLauncherAction2, I use request.getParameters("name")=close; --Struts2- action2 close /jsp/showResult/success.jsp > So at controller of action2 in class PostLauncherAction2, I use > request.getParameters("name")=null; -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Mondàà 27 März 2017 15:17 To: Struts Users Mailing List Subject: Re: Pass a parameter from action to other action with type result "chain" 2017-03-27 9:31 GMT+02:00 Dao Cong Hung (FSU17.BU68) : > > class="jp.co.fujixerox.eappli.printapp.struts.PostLauncherAction"> > > action2 > close > > > > class="jp.co.fujixerox.eappli.printapp.struts.PostLauncherAction"> > name="success">/jsp/showResult/success.jsp > > So at controller of action2, I use request.getParameters("name")=null; hm... but the "name" parameter from the "action1" isn't a request parameter, it will be applied only to the "action1". Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Pass a parameter from action to other action with type result "chain"
2017-03-27 9:31 GMT+02:00 Dao Cong Hung (FSU17.BU68) : > > class="jp.co.fujixerox.eappli.printapp.struts.PostLauncherAction"> > > action2 > close > > > > class="jp.co.fujixerox.eappli.printapp.struts.PostLauncherAction"> > name="success">/jsp/showResult/success.jsp > > So at controller of action2, I use request.getParameters("name")=null; hm... but the "name" parameter from the "action1" isn't a request parameter, it will be applied only to the "action1". Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: Pass a parameter from action to other action with type result "chain"
action2 close /jsp/showResult/success.jsp So at controller of action2, I use request.getParameters("name")=null; -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@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) : > 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-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
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) : > 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-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Pass a parameter from action to other action with type result "chain"
Dear all, I have a problem. When I pass a parameter from action to other action , why it is not support? Thanks & Best Regards HungDC