This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Struts 2 Cancel Button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 Cancel Button" Watch "Struts 2 Cancel Button" New topic

Struts 2 Cancel Button

Joe Ess

Joined: Oct 29, 2001
Posts: 8876

I had a problem canceling a form in a Struts 2 app and went googling for "Struts 2 Cancel Button". One of the hits was the Struts 2 Announcement Page which says:

Easy cancel handling - The Struts2 Cancel button can go directly to a different action.

I can't find any reference to this functionality in my books or the Struts documentation. The Struts 2.0.6 home page has this code:

Is that what the announcement is talking about?

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
jQuery in Action, 2nd edition
subject: Struts 2 Cancel Button