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

How does interceptor work in struts2?

890


What is the different actions available in struts?

954


What is difference between interceptors and filters?

973


What is action class?

945


How is forward action used for integration?

963


What is lookupdispatchaction?

976


How an actionform bean is created?

913


Are the struts tags xhtml compliant ?

888


Does apache tomcat use struts?

863


What is validate() and reset() functions?

965


What is the use of struts config xml file?

802


What is the purpose of action-mappings tag in struct-config.xml?

917


What inbuilt themes are provided by struts2?

1053


What is the purpose of @conversion annotation annotation?

1189


How does struts2 token work?

908