Spring MVC form:select selected value?

后端 未结 6 1406
遇见更好的自我
遇见更好的自我 2021-02-19 09:56

Is there any way to select current value in dropdown list by Spring MVC by ?

6条回答
  •  一向
    一向 (楼主)
    2021-02-19 10:30

    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

提交回复
热议问题