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 switchaction?

1211


What are inner class and anonymous class?

1040


What is the flow of requests in struts based applications?

1030


How we can install struts?

1047


What is the purpose of @results annotation?

1373


What does validation interceptor?

1045


What is the need of struts?

1016


What’s the difference between struts and espresso?

1083


in struts how to use hibernate with struts>

2274


Difference between struts and spring? Or why use spring, if you are already using struts?

1018


What's mvc pattern ?

1070


What are the classes used in struts?

1136


Where can I get a copy of struts?

997


Does apache struts run on windows?

1033


How many action classes can be used in struts application?

1023