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...

its a ActionForm controller or model?

Answer Posted / rasool

When you send request,request before gng to the Action classes,ActionForm(FormBean) will be executing and just it is just a View Data Transfer class.And it is not a business logic,just it is validating form fields.

Observe once struts config file
<action path="/test" name="formname" type="ActionClass"/>

First check path in actions and check if name attribute there or not if exists gng to the FormBean class not Actionclass.
So it is part of controller..

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which design pattern the interceptors in struts2 is based on?

905


Can I have html form property without associated getter and setter formbean methods?

994


What is the purpose of struts.properties in struct2?

925


What does i18n interceptor?

1026


If the framework doesn’t do what I want, can I request that a feature be added?

936


What are the sections into which a strut configuration file can be divided?

1034


How do struts work?

926


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

940


What is the front controller in struts2?

935


What configuration changes are required to use Tiles in Struts?

984


What are construction struts?

905


What are the Core classes of Struts Framework?

1001


How do you find the struts version being used in a project?

921


How is a lookup dispatch action created?

988


What is the use of Struts.xml configuration file?

923