wood burning stoves 2.0*
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
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
 
Similar Threads
Where are tlds for struts 2.0.11 ?
Struts interview questions
connection pooling in Struts
Java Version for Struts2
Can getters/setters be seperated from the ActionSupport class with a bean?