当前位置:Gxlcms > JavaScript > jstl中<c:if>和<c:choose>有哪些区别

jstl中<c:if>和<c:choose>有哪些区别

时间:2021-07-01 10:21:17 帮助过:17人阅读

在IE浏览器上面

<c:if test="empty list">some thing
</c:if>
<c:if test=" not empty list">some thing
</c:if>

不显示。

<c:choose><c:when test="">something</c:when><c:otherwise>some thing</c:otherwise></c:choose>

都显示

以上就是jstl中<c:if >和<c:choose>有哪些区别的详细内容,更多请关注Gxl网其它相关文章!

人气教程排行