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

Explain the difference between dispatchaction and lookupdispatchaction in struts?

6403


What are the two types of validations supported by validator framework?

1066


What are the reasons for an error message not being displayed while developing struts application?

990


What’s the difference between struts and espresso?

1085


What are result types in struts?

1049


Which file is used by controller to get mapping information for request routing?

1102


How is declarative handling of exceptions done in struts ?

972


What is the use of resourcebundle.properties file in Struts Validation framework?

1114


How nested beans can be used in Struts applications?

1052


What is the design role played by struts?

1057


What is the purpose of struts.xml in struct2?

1181


What is the front controller in struts2?

1008


How can we group related actions in one group in Struts?

1022


What are the major differences between html tags and strut specific html tags?

975


What is the difference between requestaware and servletrequestaware interface?

1097