why do we typecast ActionForm into out plain java bean
class in Action class?
Answer Posted / ravikiran(aptech mumbai)
Because The methods what we declared in a bean are not of
type ActionForm class type that's why we are type casting
and calling our getters and setters
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is actioninvocation?
How struts 2 validation works?
What is actionservlet?
Can you give an overview of how a struts application flows?
Which design pattern the interceptors in struts2 is based on?
What do you mean by action errors and what are the results they force?
Does apache tomcat use struts?
How to build struts application in eclipse?
What are the custom tags?
What is switchaction?
Explain how to work with error tags?
What is package name in struts xml?
What steps are required to for an application migration from Struts1 to Struts2?
What is the purpose of @element annotation annotation?
What is the purpose of @conversionerrorfieldvalidator annotation?