今天在练习页面跳转时出现jasperException异常,
在报错的位置是<td>标签和jstl中c:if的使用出错了
修改之前的代码
<td>
<c:if test="${list.orderStatus==1?"预定":"闲置"}"> </c:if>
</td>
修改后的代码
<td>
<c:if test="${list.orderStatus==1}">预定 </c:if>
<c:if test="${list.orderStatus==0}">闲置 </c:if>
</td>