JSP中的EL表达式:
使用案例:
<div class="head_unused">
<a id="unused" name="head_type" href="javascript:checkType(1)">
<c:choose>
<c:when test="${unusedCount eq 0}">
<font class="head_font active">未使用</font>
</c:when>
<c:when test="${unusedCount lt 100}">
<font class="head_font active">未使用(${unusedCount})</font>
</c:when>
<c:when test="${unusedCount ge 100}">
<font class="head_font active">未使用(99+)</font>
</c:when>
</c:choose>
</a>
<div class="head_line" id="unusedLine"></div>
</div>