I am trying to implement a Post Redirect Get pattern for my web application using struts2. The problem I am having is that whenever I redirect to either the jsp or to an action which then returns the same jsp I lose the parameters from the original request that the jsp needs to display.
Is there any way to dynamically pass every parameter from the original request onto the redirected action or jsp?
Thank you,
Brad
Use the scope interceptor.
Alternatively, use the same technique to create a simple flash interceptor that requires less configuration.
(Or keep/remove it in session manually, or ignore that it’s there if it’s not that big.)