1:集合不为空的情况
<c:if test="${not empty userRefundInfolist}">
<c:forEach items="${userRefundInfolist}" var="refund" varStatus="vs">
//循环写入知己的逻辑代码
</c:forEach>
</c:if>
2: 集合为空的情况
<c:if test="${empty userRefundInfolist}">
<img src="assets/img/weixin/无消息.png" alt="" class="img1">
</c:if>
3:下拉框并赋值
<label class="col-sm-2 control-label">拒绝原因</label>
<div class="col-sm-2 control-label">
<select id="rejectReason" name="rejectReason" class="form-control">
<c:forEach var="one" items="${rejectReason}">
<option value="${one.code}" <c:if test="${orderCheck.rejectReason == one.code}" >selected</c:if>>
${one.reason}
</option>
</c:forEach>
</select>
</div>
4:单选框并赋值
<label class="col-sm-2 control-label">审核结果</label>
<div class="col-sm-2 control-label">
<input type="radio" name="state" value="3" id="agree" <c:if test="${orderCheck.state == 3}">checked</c:if> placeholder="" ><label for="agree">通过</label>
<input type="radio" name="state" value="4" id="reject" <c:if test="${orderCheck.state == 4}">checked</c:if> placeholder="" ><label for="reject">拒绝</label>
</div>