Hi,
Background:
The application I am developing is
Struts based and consists of nested jsps and tiles.
Problem:
Suppose at certain point user will commit his transactions. Some of them will fail. The question is how to redirect the user back to the last page before he committed?
Constraints:
1) Client side caching/refreshing such as JavaScript history object is not allowed. Checking of double submssions would fail you.
2) Technique such as caching the current URL in the HTTPRequest for the "return URL" session before committing a transaction is not going to work either as we simply don't know which one is the "current URL" as a page is an aggregated results of multiple jsps and tiles.
Would be very much appreciate if hints can be provided.
Thanks in advance,
Jon