<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
1.单值判断
<c:if test="${answer.newrtype=='0' }"><button type="button" class="btn btn-warning" id="jiajing">加精</button></c:if>
2.对象不为空,为空就是empty注意放置位置
<c:if test="${not empty answervotwo.mastername2 }">
<span class='F-l'>回复</span>
</c:if>
3.多条件判断,注意位置不是${} and ${}
<c:if test="${not empty answervo.video and answervo.deletetype!='1'}">
<div class='vedio'>
输出
</div>
</c:if>
4.
<c:choose>
<c:when test="${missionactive.starttime>nowtime}">未开始</c:when>
<c:when test="${missionactive.endtime<nowtime}">已结束</c:when>
<c:otherwise>正在进行</c:otherwise>
</c:choose>