why do we typecast ActionForm into our plain java bean
class in Action class? What is the reason?
Answer Posted / kranthi kumar
As far as my knowledge is concerned.ActionForm is super
class and the bean class is sub class of ActionForm.So in
the action class it is downcasting that is performed and
downcasting in java needs an explict casting.
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
How to use dispatchaction?
What are the struts2 error message keys that can come during file uploading process?
How many instances of servlet usually run in a struts application ?
What are the steps of struts installation?
What is token used for?
What is the purpose of struct-config.xml in struct2?
What is strut action mapping?
What does validation interceptor?
Name the different types of actions found in struts.
How the flow of various requests happens in struts application?
What is the purpose of '@keyproperty'?
how to connect from struts to database through hibernet and where u can modify the class
What is the purpose of action tag in struts.xml?
How can you create your custom interceptor in struts 2?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?