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

Are interceptors thread safe?

998


How we can install struts?

964


What is the use of forwardaction?

1010


Why are frameworks used?

990


What is the purpose of @element annotation annotation?

1068


What is DynaActionForm?

1023


What is the default suffix for struts2 action uri ?

957


What are the important methods of actionform?

1071


How do I access token?

961


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

938


What configuration files are used in struts?

950


What types of validations are available in xml based validation in struts2?

1033


In struts.xml, what does the attribute "method" stands for in the "action" tag?

934


How is the action mapping specified?

948


Explain the difference between plain-validator and field-validator in struts?

937