Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Which interceptor is responsible for file upload support?

1011


What is struts2 namespace?

898


What is the difference between forwardaction and includeaction?

1152


Difference between struts and spring? Or why use spring, if you are already using struts?

940


Briefly tell the two kinds of form beans.

954


How the exceptions are handled in struts?

979


how does request processor relates to action mapping?

901


How can we work with error tags?

974


What are the applications of struts?

936


How can we handle exceptions thrown by application in Struts2?

923


What is role of actionservlet?

1011


How is declarative handling of exceptions done in struts ?

905


Why use struts framework in java?

1074


What is difference between interceptors and filters?

1017


Where can I get help with struts?

984