我在 jsp 上的代码:
<form:select id="accountId" path="accountId" >
<c:forEach items="${accountTypeList}" var="var">
<form:option value="${var.accountId}" label="${var.accountNo}"></form:option>
</c:forEach>
</form:select>
我想要控制器中选定条目的值和标签。
我在 jsp 上的代码:
<form:select id="accountId" path="accountId" >
<c:forEach items="${accountTypeList}" var="var">
<form:option value="${var.accountId}" label="${var.accountNo}"></form:option>
</c:forEach>
</form:select>
我想要控制器中选定条目的值和标签。