permaculture playing cards*
The moose likes Struts and the fly likes types of action classes in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "types of action classes in struts2" Watch "types of action classes in struts2" New topic

types of action classes in struts2

mohammed R farook

Joined: Feb 27, 2013
Posts: 13
Hi , i am very newer to strusts frame work .. can any one tell me is any any types of action classes in struts 2

In struts 1 we have around 8 types of the action classes like is there any types in struts 2 ??
Joe Ess

Joined: Oct 29, 2001
Posts: 8839

I'm not sure what you mean by "types" of action. Do you mean subclasses like DispatchAction? I guess that the analogous thing in Struts 2 would be subclasses of ActionSupport, but you have to understand that Struts 2 actions can be Plain Old Java Beans as opposed to Struts 1, which requires an action to extend the Action class.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: types of action classes in struts2
Similar Threads
Clarrifications about global action, scope, types of action
S2: Actions are not Servlet
diff b/w action and dynaaction
struts-2 (set values to action class)
Editing struts.xml during runtime