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 configuration changes are required to use Tiles in Struts?
What is difference between struts1 and struts2?
What is the use of lookupdispatchaction?
Explain the necessity of empty tag?
Why was reload removed from struts (since 1.1)?
Which servlet does the struts framework use?
How does struts2 token work?
How is token generated?
What is apache struts vulnerability?
What are action classes in struts?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
When do I need “struts.jar” on my classpath?
Do we need to pay the struts if being used in commercial purpose?
What are the some useful annotations introduced in struts2?
What is the purpose of @validations annotation?