select框从后台返回值回来怎么对应
展开全部
<td width="9%" align="right" nowrap>车辆选择</td>
<td colspan="5" align="left">
<select name="vinchoose" id="vinchoose">
<c:forEach var="var" items="model" varStaus="list">
<c:choose>
<c:when test='${var.model.VEHICLENAME ==" "}'>
<option value = "" <c:if test='${var.model.VEHICLENAME ==""}'>selected="selected"</c:if>>无</option>
</c:when>
<c:when test='${var.model.VEHICLENAME =="新汉兰达"}'>
<option value = "新汉兰达" <c:if test='${var.model.VEHICLENAME == "新汉兰达"}'>selected="selected"</c:if>>新汉兰达</option>
</c:when>
<c:when test='${var.model.VEHICLENAME =="凯美瑞"}'>
<option value = "凯美瑞" <c:if test='${var.mod
<td colspan="5" align="left">
<select name="vinchoose" id="vinchoose">
<c:forEach var="var" items="model" varStaus="list">
<c:choose>
<c:when test='${var.model.VEHICLENAME ==" "}'>
<option value = "" <c:if test='${var.model.VEHICLENAME ==""}'>selected="selected"</c:if>>无</option>
</c:when>
<c:when test='${var.model.VEHICLENAME =="新汉兰达"}'>
<option value = "新汉兰达" <c:if test='${var.model.VEHICLENAME == "新汉兰达"}'>selected="selected"</c:if>>新汉兰达</option>
</c:when>
<c:when test='${var.model.VEHICLENAME =="凯美瑞"}'>
<option value = "凯美瑞" <c:if test='${var.mod
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询