can anybody tell.what is the difference between Forward
Action and Action Forward?
Answer Posted / shafquatullah siddiqui
Have you looked at the API for these two classes? Their names might share the same words but they are quite different. ForwardAction is a type of action where ActionForward is the object that you return from your execute method.
From the 1.1 documentation (at http://struts.apache.org/1.1/api/index.html):
ActionForward: An ActionForward represents a destination to which the controller servlet, ActionServlet, might be directed...as a result of processing activities of an Action class.
ForwardAction: An Action that forwards to the context-relative URI specified by the parameter property of our associated ActionMapping.
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How we can controlled duplicate form submission in struts?
How to combine the struts with velocity template?
How struts 2 validation works?
What is the purpose of @results?
Explain how can we upload files in struts2 application?
What does i18n interceptor?
How can we group related actions in one group in Struts?
How can we display validation errors on jsp page?
What is the difference between session scope and request scope when saving formbean ?
What configuration changes are required to use resource files in Struts?
Give the details of xml files used in validator framework?
How can we display all validation errors to user on jsp page?
Why use spring, if you are already using struts?
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What is struts actionmapping?