Dropdown box - from Spring MVC model / context to form using freemarker
问题 This should be very basic but I can't find anything about it in the web, just bits and pieces that I don't seem able to fit together.. We're using Spring MVC with freemarker. Now I want to add a form to my page that allows me to select a value from a predefined list (requires database access in the backend). My controller: @RequestMapping(value = "/{id}", method = RequestMethod.GET) public ModelAndView get(@PathVariable Integer id) { // stuff.. ModelAndView mav = new ModelAndView(); mav