<c:forEach items="${orderTable.dtoPassengers}" var="passengerVar" varStatus="passengerStatus">
<c:if test="${passengerStatus.index == last}">${passengerVar.passengerName}</c:if>
<c:if test="${passengerStatus.index != last}">${passengerVar.passengerName}/</c:if>
</c:forEach>
我只想判断索引(varStatus)是最后一个,我该怎么做?