How many types of action clases are there in stuts and
their uses?
Answer Posted / ramakrishna goud.n
Different types of action classes
1).Action Class
2).IncludeAction Class
3).ForwardAction Class
4).DispatchAction Class
5).LookUpDispatchAction Class
6).SwitchAction Class
In this we use the Action Class for implementing the
business logic
We use the IncludeAction,ForwardActions,
Suppose if you want to use your servlet application or jsp
application(which are developed previously and u want to
resue it ) should follow the struts MVC pattern then you
can acheieve that using these classes
We use the DispatchAction when you want have to perform
multiple actions through one form
We can use the switchAction when you want to use the
resources from other modules of your struts application
LookupDispatchAction is similer to DispatchAction.
this information is very useful to the guys who has the
intrest to learn struts
All the best.........
| Is This Answer Correct ? | 17 Yes | 8 No |
Post New Answer View All Answers
Why are springs better than struts?
Can we integrate struts with spring?
What is the significance of logic tags in Struts?
How many struts config file can be created in struts?
How can we work with error tags?
Who makes the struts?
Why do the struts tags provide for so little formatting?
How do I access token?
What steps are required to for an application migration from Struts1 to Struts2?
Are struts and shocks the same?
Are the struts tags xhtml compliant ?
What is the role of a handler in mvc based applications?
Will the struts tags support other markup languages such as wml ?
What is the difference between plain-validator and field-validator?
What is struts validator framework?