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
Explain the difference between dispatchaction and lookupdispatchaction in struts?
What are the two types of validations supported by validator framework?
What are the reasons for an error message not being displayed while developing struts application?
What’s the difference between struts and espresso?
What are result types in struts?
Which file is used by controller to get mapping information for request routing?
How is declarative handling of exceptions done in struts ?
What is the use of resourcebundle.properties file in Struts Validation framework?
How nested beans can be used in Struts applications?
What is the design role played by struts?
What is the purpose of struts.xml in struct2?
What is the front controller in struts2?
How can we group related actions in one group in Struts?
What are the major differences between html tags and strut specific html tags?
What is the difference between requestaware and servletrequestaware interface?