This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Implement Post Redirect Get in Struts 2  RSS feed

 
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
Boost this thread!