RE: Pass a parameter from action to other action with type result "chain"

2017-03-28 Thread Dao Cong Hung (FSU17.BU68)
Thanks you very much. I know how to do it! -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Dienschdàà 28 März 2017 16:57 To: Struts Users Mailing List Subject: Re: Pass a parameter from action to other action with type result "chain" 2017-03-28

Re: Pass a parameter from action to other action with type result "chain"

2017-03-28 Thread Lukasz Lenart
2017-03-28 10:48 GMT+02:00 Dao Cong Hung (FSU17.BU68) : > Thanks you, So if I convert struts1 to Struts2 in file config.xml. > it keep > request at the action2 > So with struts2 type result the same forward except "chain" Nope, there is no "forward to action" result in Struts2, the closest app

RE: Pass a parameter from action to other action with type result "chain"

2017-03-28 Thread Dao Cong Hung (FSU17.BU68)
ruts Users Mailing List Subject: Re: Pass a parameter from action to other action with type result "chain" 2017-03-28 10:17 GMT+02:00 Dao Cong Hung (FSU17.BU68) : > I don't understand what are you meaning.You can suggest me .Because I want to > keep request of action1 in ac

Re: Pass a parameter from action to other action with type result "chain"

2017-03-28 Thread Lukasz Lenart
2017-03-28 10:17 GMT+02:00 Dao Cong Hung (FSU17.BU68) : > I don't understand what are you meaning.You can suggest me .Because I want to > keep request of action1 in action2 by way to use type result "chain" Using action chaining isn't recommended, instead it's better to re-think why do you want t

RE: Pass a parameter from action to other action with type result "chain"

2017-03-28 Thread Dao Cong Hung (FSU17.BU68)
co.fujixerox.eappli.printapp.struts.PostLauncherAction2"> > name="success">/jsp/showResult/success.jsp > >> So at controller of action2 in class PostLauncherAction2, I use >> request.getParameters("name")=null; -

Re: Pass a parameter from action to other action with type result "chain"

2017-03-28 Thread Lukasz Lenart
2017-03-28 9:44 GMT+02:00 Dao Cong Hung (FSU17.BU68) : > But I want to keep request of action1 in action2 in order that in action2 I > want get these attribute which is setAttribute in action1. If use > actionRedirect it will new request! So then, instead of redirecting use the same result as ac

RE: Pass a parameter from action to other action with type result "chain"

2017-03-28 Thread Dao Cong Hung (FSU17.BU68)
To: Struts Users Mailing List Subject: Re: Pass a parameter from action to other action with type result "chain" 2017-03-27 10:25 GMT+02:00 Dao Cong Hung (FSU17.BU68) : > -I convert struts1 to > struts2--- > -

Re: Pass a parameter from action to other action with type result "chain"

2017-03-28 Thread Lukasz Lenart
2017-03-27 10:25 GMT+02:00 Dao Cong Hung (FSU17.BU68) : > -I convert struts1 to > struts2--- > -Struts1: > > type="jp.co.fujixerox.eappli.printapp.struts.PostL

RE: Pass a parameter from action to other action with type result "chain"

2017-03-27 Thread Dao Cong Hung (FSU17.BU68)
/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 Thread Lukasz Lenart
2017-03-27 9:31 GMT+02:00 Dao Cong Hung (FSU17.BU68) : > > class="jp.co.fujixerox.eappli.printapp.struts.PostLauncherAction"> > > action2 > close > > >

RE: Pass a parameter from action to other action with type result "chain"

2017-03-27 Thread Dao Cong Hung (FSU17.BU68)
om: 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

Re: Pass a parameter from action to other action with type result "chain"

2017-03-27 Thread Lukasz Lenart
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

Pass a parameter from action to other action with type result "chain"

2017-03-27 Thread 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? Thanks & Best Regards HungDC