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
while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert
Why are springs better than struts?
What is the purpose of @before annotation?
Explain integrate log4j in struts2 application?
Which interceptor is responsible for file upload support?
What does validation interceptor?
How we can configured action mapping in struts?
What is the purpose of @urlvalidator annotation?
in struts how to use hibernate with struts>
What do you mean by inner class and anonymous class?
Do you need an alignment after replacing struts?
What is the use of execAndWait interceptor?
What inbuilt themes are provided by struts2?
Can you give an overview of how a struts application flows?
What is the use of web xml in struts2?