JSTL中解决c:if没有else
2017-11-02 10:52
204 查看
<c:choose>
<c:when test="${对象.属性 == ‘’ and 对象.属性 == ‘’}">
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>
<c:when test="${对象.属性 == ‘’ and 对象.属性 == ‘’}">
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>
相关文章推荐
- JSTL 的<c:if>标签没有else的解决办法
- jstl 的<c:if>标签没有else的解决办法
- 【JSTL】<c:if test=“”>没有else的解决方法
- jstl 的<c:if>标签没有else的解决办法
- JSTL 的 if else : 有 c:if 没有 else 的处理
- JSTL 的 if else : 有 c:if 没有 else 的处理
- JSTL 的 if else : 有 c:if 没有 else 的处理
- JSTL 的 if else : 有 c:if 没有 else 的处理
- JSTL 的 if else : 有 c:if 没有 else 的处理
- JSTL 的 if else : 有 c:if 没有 else 的处理
- JSTL 的 if else : 有 c:if 没有 else 的处理
- JSTL 的 if else : 有 c:if 没有 else 的处理
- 没有匹配 if 的非法 else 问题解决办法
- <c:if>没有<c:else>解决办法
- 利用枚举enum解决多if.....else if ..问题
- Oracle中没有 if exists(...)的解决方法
- 关于<:if>没有<c:else> 可以用<c:choose>来取代结构:
- JSTL标签 if else 判断
- 使用jstl实现下拉框的功能,同时实现了if else功能
- JSTL标签中c:choose,c:when,c:otherwise 可以实现if...else if..else的用法