• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Saving Dynamic Form in Struts 2

 
Sukumar Gaade
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am working on a Struts 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 ?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic