Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

general Come back buttom

 
carlos Muller
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks a lot
 
Jesus Mireles
Ranch Hand
Posts: 122
IntelliJ IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic