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
How nested beans can be used in Struts applications?
Are interceptors thread safe?
What is dispatch action class?
Why do the struts tags provide for so little formatting?
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?
What is dispatchaction?
What is the purpose of @conversionerrorfieldvalidator annotation?
What does apache struts do?
State an example of struts configuration file as an action parameter for action servlet.
How to handle exceptions in structs?
What is actionform in struts?
How you will make available any message resources definitions file to the struts framework environment?
Why is it called struts?
Does apache struts run on windows?
What are the steps involved in creating a strut application?