<c:forEach var="wholesalers" items="${ wholesalers}">
<tr>
<td height="28" ><c:out value="${wholesalers.id}"></c:out></td>
<td ><c:out value="${wholesalers.name }"></c:out></td>
<td><c:if test="${wholesalers.status==0}">有效</c:if>
<c:if test="${wholesalers.status==1}">被删除</c:if>
<c:if test="${wholesalers.status==2}">无效</c:if>
</td>
<td ><fmt:formatDate value="${wholesalers.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/> </td>
<td ><a href="./merchantDetails.do?id=${wholesalers.id}">详情</a></td>
</tr>
<tr>
<td height="28" ><c:out value="${wholesalers.id}"></c:out></td>
<td ><c:out value="${wholesalers.name }"></c:out></td>
<td><c:if test="${wholesalers.status==0}">有效</c:if>
<c:if test="${wholesalers.status==1}">被删除</c:if>
<c:if test="${wholesalers.status==2}">无效</c:if>
</td>
<td ><fmt:formatDate value="${wholesalers.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/> </td>
<td ><a href="./merchantDetails.do?id=${wholesalers.id}">详情</a></td>
</tr>
</c:forEach>
========================================================================
<td height="34" id="right">商户状态:</td>
<td colspan="2"><select name="select" id="select" style="width:100px; height:30px">
<option value="0" ${wholesalers.status==0? "selected":""}>有效</option>
<option value="1" ${wholesalers.status==1? "selected" : ""}>删除</option>
<option value="2" ${wholesalers.status==2? "selected" : ""}>无效</option>
</select>