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 our plain java bean
class in Action class? What is the reason?

Answer Posted / kranthi kumar

As far as my knowledge is concerned.ActionForm is super
class and the bean class is sub class of ActionForm.So in
the action class it is downcasting that is performed and
downcasting in java needs an explict casting.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of execute method of action class?

954


Explain integrate log4j in struts2 application?

965


What is the purpose of @emailvalidator?

947


Where can I get help with struts?

962


How can link tag’s action attribute be used?

913


How to combine the struts with velocity template?

907


What do struts do?

927


What is validate() and reset() functions?

990


What is the design role played by struts?

975


Name some useful annotations introduced in Struts2?

939


Where can I get a copy of struts?

907


Can we use struts and spring together?

944


Where should struts xml be placed?

883


What is the difference between requestaware and servletrequestaware interface?

1014


Why use spring, if you are already using struts?

957