File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Difference between ActionSupport and Action in Struts 2 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 "Difference between ActionSupport and Action in Struts 2" Watch "Difference between ActionSupport and Action in Struts 2" New topic
Author

Difference between ActionSupport and Action in Struts 2

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9351
    
    2

Guys,

What is the difference that I get when I implement the Action interface rather than extending the ActionSupport class???


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Have you looked at the documentation for either? Seems pretty straight-forward:

http://www.opensymphony.com/webwork/api/com/opensymphony/xwork/Action.html
http://www.opensymphony.com/webwork/api/com/opensymphony/xwork/ActionSupport.html
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9351
    
    2

Yes, it is. Thanks!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

No problem--glad you worked it out :)
 
Don't get me started about those stupid light bulbs.
 
subject: Difference between ActionSupport and Action in Struts 2