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
How you will make available any message resources definitions file to the struts framework environment?
What are the Core classes of Struts Framework?
Explain the complete struts validator framework.
What is the purpose of @element annotation annotation?
Who wrote struts?
How to build struts application in eclipse?
What steps are required to for an application migration from Struts1 to Struts2?
How can we integrate log4j in Struts2 application?
What are the bundled validators?
What is the use of reset method of ActionForm class?
Can a reducer dispatch an action?
What are the core classes of the struts framework?
What is the purpose of dispatcher result type?
What is java struts?
How can we work with error tags?