can anybody tell.what is the difference between Forward
Action and Action Forward?
Answer Posted / p.a.v.k.prasad
ActionForward is a return type of execute() method in the
Action class.
Based on this Actionforward the request processor dispatches
the request to corresponding page(either Success or failure).
Forwardaction:
for this we use
<forward name"success" path="success.jsp"/> it is a child
tad of <action>.
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How to get data from the velocity page in a action class?
Can we have more than one struts-config.xml file for a single struts application?
How can we upload files in Struts2 application?
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
How many servlet controllers are used in a Struts Application?
What is the purpose of @createifnull annotation annotation?
Explain how to work with error tags?
What are the steps involved in creating a strut application?
What is the purpose of @results annotation?
Explain about struts dispatch action?
Explain about how requests from the client are sent?
Why was reload removed from struts (since 1.1)?
What is difference between interceptors and filters?
What is the purpose of global-forwards tag in struct-config.xml?
Which tag is used to declare constants in struts xml?