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 do struts work?
What is the actionform?
How does interceptor work in struts2?
Where should struts xml be placed?
Describe the mvc on struts?
What is http forward?
Are interceptors thread safe?
What are the reasons for an error message not being displayed while developing struts application?
How can we display validation errors on jsp page?
What is action class? What are the types of action class?
Is there a particularly good ide to use with struts?
What configuration files are used in struts?
What does modeldriven interceptor?
How are interceptors and servlet filters different?
What is the use of jsonvalidation?