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

What is the purpose of @result annotation?

1154


What is the purpose of @beforeresult annotation?

1020


What is dispatch action class?

1096


What is includeaction?

996


Where can I get a copy of struts?

939


Is struts action class singleton?

999


What is the purpose of struct-config.xml in struct2?

981


When do I need “struts.jar” on my classpath?

975


What are the some useful annotations introduced in struts2?

978


Explain about the library tag?

989


How properties of a form are validated in Struts?

1056


What is interceptor struts2?

1018


Name the different types of actions found in struts.

990


What is the purpose of @createifnull annotation annotation?

1043


What’s the utilization of resource bundle properties file in struts validation structure?

1089