aspose file tools*
The moose likes Struts and the fly likes How to Implement Post Redirect Get in Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to Implement Post Redirect Get in Struts 2 " Watch "How to Implement Post Redirect Get in Struts 2 " New topic
Author

How to Implement Post Redirect Get in Struts 2

Shriram Pandit
Greenhorn

Joined: Apr 08, 2011
Posts: 11
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

Joined: May 11, 2011
Posts: 3
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


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Implement Post Redirect Get in Struts 2