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
What’s the difference between struts and turbine?
How do I access token?
How exceptions are handled in struts application?
What is the purpose of execute() method?
in struts how to use hibernate with struts>
How can forward action be used to restrict a strut application to mvc?
Explain about token feature in struts?
What does action do in struts?
What’s the utilization of struts.xml configuration file?
Which design pattern the interceptors in struts2 is based on?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
Explain about logic match tag?
Can you explain the directory structure for a struts folder in brief ?
Why it called struts?
What is s token?