<c:if>中只能有一个判断语句,但是可以在一个el表达式中写多个判断条件

例:

<c:if test="${fn:length(item.work_detail.notes)>0&&${item.work_detail.notes[0].status =='0'}" >不合格</c:if>正确写法

 <c:if test="${fn:length(item.work_detail.notes)>0}&&${item.work_detail.notes[0].status =='0'}" >不合格</c:if>  错误写法

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-09-23
猜你喜欢
  • 2022-01-06
  • 2021-07-24
  • 2021-12-18
  • 2021-11-13
  • 2022-01-09
  • 2021-09-26
相关资源
相似解决方案