The general syntax is to name it,
<c:forEach items="${outerList}" var="innerList"> <c:forEach items="${innerList}" var="item">
and in your case
<c:forEach items="${reqUserDetails}" var="firstVar"> <c:forEach items="${firstVar}" var="secodVar">
since it contains an array of objects inside a List . so the external list will hold the Object[] , which you need to repeat again.
Hope this helps!
source share