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

What are the benefits of Interceptors in Struts2?

1179


Can you explain the directory structure for a struts folder in brief ?

976


What is struts in j2ee?

947


What are action errors?

999


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

1061


What is the default suffix for Struts2 action URI and how can we change it?

1006


What is interceptor struts2?

1025


What is an interceptor stack?

1040


What is the difference between struts and spring? Explain

916


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

1018


Can we have multiple struts config files ?

968


What is execute method in struts?

950


What is the purpose of @beforeresult?

1023


How is token generated?

1032


How the flow of various requests happens in struts application?

1005