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 are result types in struts?

1000


How is the mvc design pattern used in struts framework?

959


What are the bundled validators?

1016


What is the purpose of interceptors?

1007


What inbuilt themes are provided by struts2?

1112


What is life cycle of an interceptor?

1060


What does validation interceptor?

1002


How you will enable front-end validation based on the xml in validation.xml?

1092


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

916


What is http forward?

982


What is defeult result type?

1068


Can we have more than one struts-config.xml file for a single struts application?

934


What is the purpose of @conversionerrorfieldvalidator annotation?

1185


What is switchaction?

1151


What is interceptor struts2?

1019