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


Please Help Members By Posting Answers For Below Questions

What is apache struts framework?

715


What are the sections into which a strut configuration file can be divided?

781


Which class is the Front Controller in Struts2?

730


What is struts2 namespace?

688


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

738


What is the difference between requestaware and servletrequestaware interface?

790


Lists the bundled validators in struts?

751


When should be opt for struts framework?

804


How client side validation is enabled on a jsp form?

773


Are struts still used?

684


What is dispatch action class?

824


What is the purpose of @beforeresult?

786


Can you explain value stack?

712


What is the use of form bean in struts?

697


What is dispatchaction?

822