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

why do we typecast ActionForm into out plain java bean
class in Action class?

Answer Posted / johndoe

Acctually not realy thinking you should ask that, i mean
well ask, the answer is: to use it's methods.

But to understand it i recomend reading something about
polymorphy which explains why we're casting the action-
form, hope i understood right.

Regards
Jan

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How nested beans can be used in Struts applications?

965


Are interceptors thread safe?

969


What is dispatch action class?

1059


Why do the struts tags provide for so little formatting?

935


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

1117


What is dispatchaction?

1056


What is the purpose of @conversionerrorfieldvalidator annotation?

1137


What does apache struts do?

882


State an example of struts configuration file as an action parameter for action servlet.

968


How to handle exceptions in structs?

1052


What is actionform in struts?

951


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

935


Why is it called struts?

910


Does apache struts run on windows?

949


What are the steps involved in creating a strut application?

925