First of all, I made a small mistake: I need just an ordinary "redirect" , not "redirect-action"
Why? There's almost never any reason to build a result dynamically in the code itself (and I suspect it's difficult enough to be impractical). What are you trying to do that you don't believe can't be done via normal means?
Let's say I have ActionSupport "a" whose view is "a.jsp" and on submit I "call" ActionSupport "b" that needs to insert some data in the DB and redirect to action "a" ( go to the beginning )
And what if I have N such "circles" for every table in the DB.
That way I would map N actions "a" + N actions "b" in the struts.xml
I want to make universal action "b" that will do the insertion of the data no matter how that data looks like , and redirect to some action that I specified in some String...
That way I don't need to map those N "b" actions in the struts.xml
This is just, of course, simplified version of what I'm doing...