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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -