why do we typecast ActionForm into out plain java bean
class in Action class?
Answer Posted / johndoe
Acctually not realy thinking you should ask that, i mean
well ask, the answer is: to use it's methods.
But to understand it i recomend reading something about
polymorphy which explains why we're casting the action-
form, hope i understood right.
Regards
Jan
Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What are the contents on web.xml in struts application ?
What is struts actionmapping?
What is struts xml?
How many action classes can be used in struts application?
How struts control data flow?
In which order struts framework searches for a message bundle?
What is ognl?
Can I have html form property without associated getter and setter formbean methods?
What is http redirect?
What is the configuration files used in struts?
What is struts framework in java?
What is action servlet in struts?
Are actions thread safe?
Can explain about the validations and in your project where did u used the validations?
What are inner class and anonymous class?