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
What are result types in struts?
How is the mvc design pattern used in struts framework?
What are the bundled validators?
What is the purpose of interceptors?
What inbuilt themes are provided by struts2?
What is life cycle of an interceptor?
What does validation interceptor?
How you will enable front-end validation based on the xml in validation.xml?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
What is http forward?
What is defeult result type?
Can we have more than one struts-config.xml file for a single struts application?
What is the purpose of @conversionerrorfieldvalidator annotation?
What is switchaction?
What is interceptor struts2?