It was very silly question! Thanks, result type="chain" solves the problem!
stanlick wrote: > > Consider chaining over redirect. However, this does sort of hard wire > your > flow! > > On Tue, Aug 5, 2008 at 5:33 AM, holod <[EMAIL PROTECTED]> wrote: > >> >> 1.I have action PrepareDictionaryAction >> it has field String dictionaryId and appropriate getter and setter. >> dictionaryid comes from previous jsp. (enter.jsp) >> action sends user to dictionary.jsp >> >> 2.dictionary jsp has hidden field <s:hidden name="dictionaryId"/>. So I >> will >> not be lost. >> 3.then through form submit user goes to WorkWithDictionaryAction. >> This action reads hidden field dictionaryId. >> >> I want on result="success" send user to PrepareDictionaryAction and I >> don't >> want to loose dictionaryId >> >> This is struts.xml for "WorkWithDictionary: >> <action name="WorkWithDictionary" >> class="ibs.parliament.action.admin.WorkWithDictionaryAction"> >> <result name="success" type="redirect-action"> >> PrepareDictionary >> /admin >> </result> >> <result >> name="input">/admin/dictionary.jsp</result> >> </action> >> >> As you can see on "success" user will go to PrepareDictionary. This >> action >> needs dictionaryId, but I is lost on WorkWithDictionary action, this >> parameter doesn't go forward. >> >> I would'nt like to use session, I would like to use something else. Does >> struts2 has special interceptor or result type for such tasks? >> >> >> -- >> View this message in context: >> http://www.nabble.com/HowTo%3A-transfer-parameter-between-actions--tp18828496p18828496.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/HowTo%3A-transfer-parameter-between-actions--tp18828496p18829285.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]