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


Please Help Members By Posting Answers For Below Questions

What is used to display the intermediate result in an interceptor?

722


What is the purpose of form-be tag in struct-config.xml?

740


What is action class? What are the types of action class?

718


What is the purpose of @results annotation?

909


What does execandwait interceptor?

751


What is the purpose of @emailvalidator annotation?

675


Explain about token feature in struts?

739


What is struts-default package and what are it’s benefits?

774


What is the purpose of action-mappings tag in struct-config.xml?

762


Name some useful annotations introduced in Struts2?

714


What is apache struts vulnerability?

707


What is the flow of requests in struts based applications?

755


What are best practices to follow while developing Struts2 application?

789


What is pojo in struts2?

749


Explain architecture of struts2?

817