Dynamic forms are a way for you to create form beans without any Java code.
Dynamic forms work best when you have simple properties, validated with the Validator framework. You are expected to transfer data to a JavaBean for processing.
Dynamic forms may not be used in place of ActionForms in certain situations, particularly when using EL.
LazyValidatorForm is a new (1.2.6) addition to Struts that removes the need to even declare properties in a form bean.
Since 1.2.6, you can use a JavaBean as the type of a <form-bean>, and Struts will wrap the bean in a BeanValidatorForm. This will automatically populate the bean’s data for you.
KeywordsDynamic Form Simple Property Malicious User Java Code Primitive Type
Unable to display preview. Download preview PDF.