This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
How to Implement Post Redirect Get in Struts 2
Joined: Apr 08, 2011
May 06, 2011 13:34:43
Please help me understanding this in terms of
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.
Joined: May 11, 2011
May 11, 2011 04:48:50
Struts 2 Cookbook: Redirect After Post
Instead of the default "dispatcher" result type
<action name="DoSomething" class="com.foobar.FooBarAction"> <result>/displayResult.jsp</result> </action>
use the "redirectAction" (or "redirect" respectively) result type instead.
<action name="DoSomething" class="com.foobar.FooBarAction"> <result type="redirectAction">DisplayResult</result> </action> <action name="DisplayResult" class="com.foobar.FooBarAction"> <result>/displayResult.jsp</result> </action>
subject: How to Implement Post Redirect Get in Struts 2
Where are tlds for struts 2.0.11 ?
Can getters/setters be seperated from the ActionSupport class with a bean?
connection pooling in Struts
Struts interview questions
Java Version for Struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014