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 / mohan

According to MVC2 rules, it is the responsibility of ActionServlet to do form validation but since its built-in servlet, we cant place validation logic in ActionServlet class, so we use ActionForm to do validation.......So ActionForm acts as a controller not model....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which class is the Front Controller in Struts2?

987


What is the purpose of @beforeresult?

1023


How you will make available any message resources definitions file to the struts framework environment?

982


What are construction struts?

931


What is actionmapping?

1082


Explain the necessity of empty tag?

999


What is Custom Type Converter in Struts2?

1100


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

957


How action-mapping tag is used for request forwarding in struts configuration file?

958


What is the purpose of @customvalidator annotation?

998


What is includeaction?

999


What is the purpose of @requiredstringvalidator?

969


What is http forward?

984


What is role of actionservlet?

1030


What does params interceptor?

954