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
How can we upload files in Struts2 application?
Explain about how requests from the client are sent?
What are the benefits of Interceptors in Struts2?
What is struts xml?
What is struts.devmode?
What is front controller in struts2?
Which components are available using actioncontext map?
What is the design role played by struts?
What are the components of struts?
What are the core classes of struts framework? Explain
How is a lookup dispatch action created?
Why use spring, if you are already using struts?
What are action errors?
How to handle exceptions in structs?
What is the purpose of @conversion annotation annotation?