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

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

923


What are the Core classes of Struts Framework?

958


Explain the complete struts validator framework.

946


What is the purpose of @element annotation annotation?

1016


Who wrote struts?

922


How to build struts application in eclipse?

932


What steps are required to for an application migration from Struts1 to Struts2?

983


How can we integrate log4j in Struts2 application?

972


What are the bundled validators?

964


What is the use of reset method of ActionForm class?

980


Can a reducer dispatch an action?

907


What are the core classes of the struts framework?

893


What is the purpose of dispatcher result type?

911


What is java struts?

881


How can we work with error tags?

936