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
Where can I get a copy of struts?
Is Struts Framework part of J2EE?
Which interceptor is responsible for i18n support?
What are the features of struts 2?
What do struts do?
Is struts compatible with other java technologies?
What is the purpose of @expressionvalidator annotation?
What is role of actionservlet?
Difference between struts and spring?
What is the role of a handler in mvc based applications?
How does interceptor work in struts2?
Describe the basic steps used to create a tiles application?
Name the different types of actions found in struts.
Why use struts framework in java?
Is struts 1 still supported?