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 action class?
What is the purpose of @result?
How long do struts last?
What is token used for?
Why are struts tightly coupled?
How action-mapping tag is used for request forwarding in struts configuration file?
How interceptor works in struts 2?
What is the purpose of @typeconversion annotation annotation?
What is the difference between struts and spring?
Explain how can we upload files in struts2 application?
How to handle exceptions in structs?
What is the purpose of @stringlengthfieldvalidator annotation?
What is package name in struts xml?
What is interceptor struts2?
Why do we use struts?