What does DynaActionForm in struts actually do? It is said that "if we develop more and more struts application or Action classes then more and more ActionForms have to be created. Means, ActionForm for just about every piece of business logic that we would like to perform. This is time comsuming."
So DynaActionForm comes into picture which we are creating in struts-config.xml file.
But still we will have to create equal DynaActionFrom for those many business Aciton in struts-config.xml file for mapping.
Writing ActionFrom (not DynaActionForm ) is much more flexible ?
Please explain, How dynaActionForm behaviour ?
DynaActionForms don't require any (or much) Java code; ActionForms do.
This is stated in the docs:
Instead of creating a new ActionForm subclass and new get/set methods for each of your bean's properties, you can list its properties, type, and defaults in the framework's configuration file.