why do we typecast ActionForm into our plain java bean
class in Action class? What is the reason?
Answer Posted / kiran
Action Form is basically sub class of Action Form Class.
When we want to assign super class with subclass object type
casting is required.
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is used to display the intermediate result in an interceptor?
What is the purpose of form-be tag in struct-config.xml?
What is action class? What are the types of action class?
What is the purpose of @results annotation?
What does execandwait interceptor?
What is the purpose of @emailvalidator annotation?
Explain about token feature in struts?
What is struts-default package and what are it’s benefits?
What is the purpose of action-mappings tag in struct-config.xml?
Name some useful annotations introduced in Struts2?
What is apache struts vulnerability?
What is the flow of requests in struts based applications?
What are best practices to follow while developing Struts2 application?
What is pojo in struts2?
Explain architecture of struts2?