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
Are the struts tags xhtml compliant ?
For a single Struts application, can we have multiple struts-config.xml files?
How long do struts last?
What are the some useful annotations introduced in struts2?
How can duplicate form submission be handled in struts 2?
What does modeldriven interceptor?
how to connect from struts to database through hibernet and where u can modify the class
How to build struts application in eclipse?
Can you explain custom tag?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
Provide some important Struts2 constants that you have used?
Is struts 1 still supported?
What are the aware interfaces in struts2?
How duplicate form submission can be controlled in struts?
What is struts2 framework?