I need to implement a link on my page for Cancel
which takes the user back to the page they were on.
I think that I can use a dynamic result to have the caller pass in the action I need to return to. This is described in: Struts2 - How to do dynamic URL redirects?
But each of the callers have different parameters to their page that specify the state they were in. How do I reset this state back to the action variables before I redirect to the previous action?