<c:if>標簽判斷表達式的值,如果表達式的值為 true 則執行其主體內容。
<c:if test="
...
</c:if>
<c:choose>
<c:choose> 和 <c:when> 、 <c:otherwise> 一起實現互斥條件執行,類似於 java 中的 if else.
<c:choose> 一般作為 <c:when> 、 <c:otherwise> 的父標簽。
<c:choose>
<c:when test="${row.v_money<10000}">
本月工資大於1w
</c:when>
<c:otherwise>
本月工資小於1w
</c:otherwise>
</c:choose>