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 is the purpose of global-forwards tag in struct-config.xml?
Which interceptor is responsible for i18n support?
What is difference between interceptors and filters?
What does modeldriven interceptor?
Name some useful annotations introduced in Struts2?
What do you mean by the abstract package in struts2, and what is its utilization?
What is the difference between validation.xml and validator-rules.xml files in struts validation framework?
What is the purpose of @stringlengthfieldvalidator annotation?
What is action class?
How is forward action used for integration?
What are the classes used in struts?
How action mapping is configured in Struts?
Which design pattern the interceptors in struts2 is based on?
How exceptions are handled in struts application?
How we can configured action mapping in struts?