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
Which interceptor is responsible for file upload support?
What is struts2 namespace?
What is the difference between forwardaction and includeaction?
Difference between struts and spring? Or why use spring, if you are already using struts?
Briefly tell the two kinds of form beans.
How the exceptions are handled in struts?
how does request processor relates to action mapping?
How can we work with error tags?
What are the applications of struts?
How can we handle exceptions thrown by application in Struts2?
What is role of actionservlet?
How is declarative handling of exceptions done in struts ?
Why use struts framework in java?
What is difference between interceptors and filters?
Where can I get help with struts?