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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -