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 action class?

986


What is the purpose of @result?

1013


How long do struts last?

928


What is token used for?

910


Why are struts tightly coupled?

974


How action-mapping tag is used for request forwarding in struts configuration file?

945


How interceptor works in struts 2?

1039


What is the purpose of @typeconversion annotation annotation?

963


What is the difference between struts and spring?

927


Explain how can we upload files in struts2 application?

1032


How to handle exceptions in structs?

1087


What is the purpose of @stringlengthfieldvalidator annotation?

1089


What is package name in struts xml?

984


What is interceptor struts2?

988


Why do we use struts?

1131