Thank you very much for the response! I studied docs and noticed the drawbacks.
I could put aside a chaining approach if the following is possible: can I use in struts.xml complex ognl statements? <action name="*_*_*" method="{3}" class="{2}Action"> ... <result name="back" type="redirect-action">{1}_<target>_show.action</result> ... now problem is that depending on {2} I have to calculate <target> its a simple relationship like: if "source1" then "target1" if "source2" then "target2" ... and so on Is it possible to do that with ognl in struts.xml? Thank you very much for help, basti org.apache.struts2.dispatcher.ServletActionRedirectResult newton.dave wrote: > > Action chaining is probably the closest you'd get > out-of-the-box. > > http://struts.apache.org/2.x/docs/chain-result.html > http://struts.apache.org/2.x/docs/action-chaining.html > > Not a particularly good practice, however. > > d. > > --- lbastil <[EMAIL PROTECTED]> wrote: > >> >> I know about the possibility to redirect to another >> action by result type >> "redirect-action" >> >> But this does a redirect (HTTP 302). >> >> Is the same possible with a "forward" instead of >> redirect? >> >> Thank you very much in advance, >> basti >> -- >> View this message in context: >> > http://www.nabble.com/-s2--forward-to-another-action--tf4712685.html#a13470792 >> Sent from the Struts - User mailing list archive at >> Nabble.com. >> >> >> > --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/-s2--forward-to-another-action--tf4712685.html#a13484116 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]