Spring MVC form:select selected value?
问题 Is there any way to select current value in dropdown list by Spring MVC by <form:options> ? 回答1: Sets 'selected' as appropriate based on bound value. http://static.springsource.org/spring/docs/2.0.x/reference/spring-form.tld.html#spring-form.tld.options 回答2: Here's my fix to this problem. Its massive, but it works genders : qualifier from java model // model.addAttribute("genders", genders); account : binded modelattribute for spring forms fmt:message : translates m to "Mees" (Estonian) <form