aspose 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
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: 9385
    
    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: 9385
    
    2

Yes, it is. Thanks!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

No problem--glad you worked it out :)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Difference between ActionSupport and Action in Struts 2