jstl判断后端传递的值不为空
<c:if test="${not empty recordList}"> ... </c:if>
参考链接;
https://blog.csdn.net/qq_36411874/article/details/79320325