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 execute method of action class?
Explain integrate log4j in struts2 application?
What is the purpose of @emailvalidator?
Where can I get help with struts?
How can link tag’s action attribute be used?
How to combine the struts with velocity template?
What do struts do?
What is validate() and reset() functions?
What is the design role played by struts?
Name some useful annotations introduced in Struts2?
Where can I get a copy of struts?
Can we use struts and spring together?
Where should struts xml be placed?
What is the difference between requestaware and servletrequestaware interface?
Why use spring, if you are already using struts?