samedi 4 avril 2015

in spring mvc I am taking the dynamic hobbies values from the database. I have to select any one the hobby.


I can take the value and rendering in html Map> map = new HashMap>(); map.put("hobbiesList", hobbiesList); return new ModelAndView("register", "map", map); in html if i do that , it is showing the list, but my requirement is when loading these hobbies, the by default one value has to be in selected mode.


Aucun commentaire:

Enregistrer un commentaire