Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Saving Dynamic Form in Struts 2
posted 3 years ago
I am working on a
2 application. I have to save a dynamic questionnaire form (which has radio, combo, checkbox, text,...).
As the form is dynamic i cannot have the fields defined in the action class. I have used the below code in Struts 1.3 to capture all the request parameters in to map
LazyValidatorForm lazyForm = (LazyValidatorForm) form;
Map map = lazyForm.getMap();
What is the equivalent in Struts 2 ?
I agree. Here's the link:
Dynamic form submission
Advantages of JSF over struts..
LazyValidatorForm and Lazy DynaBean
what is "dynamic" form bean ?