判断List是否为空的一种方法是使用jstl的c标签。

<c:if test="${not empty cpInfo.cpCredentials}">

</c:if>

 

相关文章:

  • 2021-08-11
猜你喜欢
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2021-10-24
相关资源
相似解决方案