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

Are the struts tags xhtml compliant ?

941


For a single Struts application, can we have multiple struts-config.xml files?

989


How long do struts last?

942


What are the some useful annotations introduced in struts2?

978


How can duplicate form submission be handled in struts 2?

989


What does modeldriven interceptor?

1083


how to connect from struts to database through hibernet and where u can modify the class

2559


How to build struts application in eclipse?

1003


Can you explain custom tag?

982


In struts.xml, what does the attribute "method" stands for in the "action" tag?

951


Provide some important Struts2 constants that you have used?

1008


Is struts 1 still supported?

940


What are the aware interfaces in struts2?

1018


How duplicate form submission can be controlled in struts?

1121


What is struts2 framework?

949