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 difference between session scope and request scope when saving formbean ?

1034


What is the configuration files used in struts?

1015


How to upload struts file?

1064


what is ACID test for fresh engineers??what is the pattern??

2877


What is the purpose of @key annotation annotation?

1127


How many instances of servlet usually run in a struts application ?

1055


Which components are available using actioncontext map?

1214


What is s token?

1040


What is the purpose of form-beans tag in struct-config.xml?

961


List the important attribute and elements of action mapping under struts.

1033


What is ValueStack and OGNL?

1104


What is the purpose of execute method of action class?

1022


When it’s useful to use IncludeAction?

1056


How can you create your custom interceptor in struts 2?

993


Are the struts tags xhtml compliant ?

984