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?
How is the mvc design pattern used in struts framework?
What is the purpose of @doublerangefieldvalidator?
in struts how to use hibernate with struts>
What is package name in struts xml?
What is the purpose of @keyproperty annotation annotation?
How struts 2 validation works?
Give an alternative way to protect jsp’s with not much features from direct access.
Explain about logic match tag?
Explain struts.devmode?
What is execute method in struts?
How is forward action used for integration?
Is Struts Framework part of J2EE?
What is apache struts framework?
What is defeult result type?