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 / kiran

Action Form is basically sub class of Action Form Class.
When we want to assign super class with subclass object type
casting is required.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe validate() and reset() methods.

1068


Is there a particularly good ide to use with struts?

914


What is the front controller in struts2?

935


How to build struts application in eclipse?

978


What is action support class in struts2?

987


What are pull and push mvc architecture and which architecture does struts2 follow?

918


What is the need of struts?

965


What is the use of struts config xml file?

853


Which library is provided by struts for form elements like check boxes, text boxes etc?

915


What is the purpose of @before?

973


Explain about the future of struts?

934


How the flow of various requests happens in struts application?

990


Is struts action class singleton?

985


Whats the difference between the default namespace and the root namespace?

974


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

3180