jstl标签中if语句的使用

   <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@page import="java.util.*" %>
<%@page import="com.systek.entities.*" %>






<c:forEach var="withdrawRequestShow" items="${ withdrawRequestShow}">



<td><c:if test="${withdrawRequestShow.status==1}">等待批准</c:if>

          <c:if test="${withdrawRequestShow.status==2}"><span class="green">已批准</span></c:if>
            <c:if test="${withdrawRequestShow.status==3}"><span class="red">未批准</span></c:if>    
      

      </td>


    </c:forEach> 

你可能感兴趣的:(java,if,jstl标签)