java - how to get values of parameters inside Controller from a dynamically created form in spring MVC -
i have generated dynamic form reading xml.so elements inside form dynamic.how can each parameters inside controller , save in database table? here respect xml have designed database table store data. how can identify dynamic parameters saved in corresponding fields in table?
try controller
collections.list((enumeration<string>) request.getparameternames());
in way should have list of parameters name. in loop take values in way :
request.getparameter(parametername);
Comments
Post a Comment