【发布时间】:2017-11-04 08:23:52
【问题描述】:
我有桌子:
<c:forEach var="employee" items="${employees}">
<tr>
<td>${employee.id}</td>
<td>${employee.gender.gender}</td>
<td>${employee.name}</td>
<td>${employee.surname}</td>
<c:if test="${employee.appointment.appointment eq NAVIGATOR}">//Checking value of field
<td>${employee.appointment.appointment}</td>
</c:if>
</tr>
</c:forEach>
我想检查字段的值:
${employee.appointment.appointment}
怎么做?
【问题讨论】: