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 to use forward action to restrict a strut application to mvc?
What is jakarta struts framework?
How interceptor works in struts 2?
Can we use struts and spring together?
What is the naming convention for a resource bundle file in struts2?
What is difference between spring and struts?
What are the benefits of Interceptors in Struts2?
What is structs 2 validation framework?
What is actionservlet?
What are the benefits of Struts framework?
What is http forward?
State an example of struts configuration file as an action parameter for action servlet.
What are the main classes which are used in struts application?
What is actioninvocation?
What are the features of struts?