<c:choose>
<c:when test="${inda_indapay_cardCustomerForm.customerKind eq 'zrr'}">
...
...
</c:when>
<c:when test="${inda_indapay_cardCustomerForm.customerKind eq 'fr'}">
...
...
</c:when>
<c:otherwise>
...
...
</c:otherwise>
</c:choose>
为了达到有个otherwise默认值的效果,在action=init方法中,对customerKind 进行赋值操作。
<c:if test="${inda_indapay_cardCustomerForm.customerKind eq 'zrr'}">
...
...
</c:if>
<c:if test="${inda_indapay_cardCustomerForm.customerKind eq 'fr'}">
...
...
</c:if>