If the ActionForm is used, then user himself has to write the setters and getters when ever he adds a control.
The same process is repeated again and again when user creates a view.
DynaActionForm eliminates this burden and creates the form bean itself.
This way user dont have to write setters and getters.
DynaActionForm is specialized subclass of ActionForm that allows the creation of form beans with dynamic sets of properties, without requiring the developer to create a Java class for each type of form bean. DynaActionForm eliminates the need of FormBean class and now the form bean definition can be written into the struts-config.xml file. So, it makes the FormBean declarative and this helps the programmer to reduce the development time.
More Details
Blog Archive
-
▼
2009
(17)
-
▼
April
(16)
- Use of ActionErrors in struts
- Anatomy of ActionForm
- Life Cycle of Struts Request
- Struts and MVC
- 10 Tips: How to Optimise Your Website in a Web 2.0...
- Struts or JSF? Struts and JSF?
- processNoCache() : Disables Back Button of All Bro...
- struts flow
- differences between bean:message and bean:write
- validate() and reset() methods
- validator-rules.xml and validation.xml files
- Struts - DynaForm validation
- What is difference between ActionForm and DynaActi...
- Creating Your own RequestProcessor
- Is Struts Thread Safe ?
- RequestProcessor in struts and how it works
-
▼
April
(16)
Wednesday, April 1, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment