Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Implement Post Redirect Get in Struts 2

 
Shriram Pandit
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me understanding this in terms of struts 2.

I have to implement my Web Application works fine when user clicks browser back / forward button , refresh page .

Any example code is really appreciated.

Thanks in advance.
Shriram.
 
Dejan Lazovic
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts 2 Cookbook: Redirect After Post

Instead of the default "dispatcher" result type


use the "redirectAction" (or "redirect" respectively) result type instead.



Best regards
Dejan


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic