Hi All, Rob Hills wrote: > > > Rob Hills wrote: >> >> In my AppFuse 2 + Struts app, I have one Form JSP (with one Action class) >> that is accessed from two different lists. When the user quits the form >> (save, cancel etc.) they need to return to the list they came from... >> > > I still haven't been able to work this one out. Has anyone been able to > find a way to have one JSP work with two different Actions in Struts? >
AFAICT, the default Result Type for a Struts Action is a Dispatcher and from the thin pickings on http://struts.apache.org/2.0.11.2/docs/dispatcher-result.html the page describing it , it looks tantalisingly like there would be a way to pass on my "from" value, but I've not found it yet. I know I can fudge things to set this inside my Action java code, but as this is a navigational issue, I'd prefer to find a simple struts.xml-based solution if I can. Cheers, Rob Hills Waikiki, Western Australia -- View this message in context: http://www.nabble.com/AppFuse-2-%2B-Struts-2---One-JSP--%3E-two-different-Actions---possible-tp19826404s2369p19993668.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]