This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi everybody, I thinking about the idea of make a general Come back buttom for my web application. I work now with Struts2, and think perhaps in a Interceptor that, for any request, insert in session an object with the name of the class action - method in a java.util.Stack, and the parameters of the request. After, a global action "come_back" (call from a general buttom in a tiles - footer, visible in any page of the web application) that read of this Stack and "know" where must to go and the parameters requiered(too in the object of the Stack).
Anybody made something like that, or know where can I read about this problem?
I dont know of anything in struts2 that will do this out of the box, but you can probably solve this with an intercepting filter. Also if you look at Struts2 in Action book in section 12.4 they have a breadcrumb example that you can probably use as well.