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
How do struts work?
What is java struts?
What are apache struts?
Lists the bundled validators in struts?
Name some useful annotations introduced in Struts2?
What is the purpose of @element annotation annotation?
What are the classes used in struts?
What is the difference between struts1 and struts2?
What is struts2 namespace?
What are the steps involved in creating a strut application?
How we can install struts?
What are the two scope types for formbeans?
What is the purpose of @element?
What are the benefits of Interceptors in Struts2?
What is the default suffix for struts2 action uri ?