EL表达式

 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

 

 

<c:forEach items="${spLst}" step="1" var="itm">
          <tr 
         <c:if test="${itm.stApplyStatus eq '22' || itm.stApplyStatus eq '13'}">
           bgcolor="#ffeeeee"         
            </c:if>
          >
         <td height="35">
          ${itm.stProjectName}
         </td>

        <td nowrap><h3><fmt:formatDate value="${str.dtApply}" dateStyle="medium" pattern="yyyy-MM-dd"/></h3></td>
       </c:forEach>

你可能感兴趣的:(EL表达式)