在 后台赋值 是这样的
for (int month = 1; month < 13; month++) {
Map<String, String> map = new HashMap<String, String>();
map.put("customerBirthdayMonth", String.valueOf(month));
customerBirthdayMonthList.add(map);
}
form.setCustomerBirthdayMonthList(customerBirthdayMonthList);前台应该怎么显示?
我是这么写的。。
 <form:select path="customerBirthdayMonth" id="customerBirthdayMonth" onchange="MMDD('this.value')">
<form:options items='${requestScope.premiumTestClaculationForm.customerBirthdayMonthList}' ></form:options>
</form:select>  月