File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 8836

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]
I agree. Here's the link:
subject: Struts 2 Cancel Button
Similar Threads
My Cancel button is not working in struts1.2
document.referrer in struts
Struts Cancel Button submits the form
How to assign names to buttons and tell which button was pressed in the Action class?
Problems with action