Hi Chris,
Thanks for your reply. I managed to nail the problem.
I would like to know why when this "${fn:length(users)}"
<c:forEach items="${users}" var="t" varStatus="status" begin="1"
end="${fn:length(users)}">
is added, it is not helping to print out all the rows.
And then I tried to put
"${fn:length(users)}" to show the length of the arraylist, it is also not
printing out the length.
Is there anyway to debug at the jstl/jsp page end why is is not printing all
the rows basically cos it is now only giving me the first row of the output -
the resultset from jdbc ...
Thanks & regards,
Karen
On Thursday, September 19, 2019, 12:21:22 AM GMT+8, Chris Pratt
<[email protected]> wrote:
It looks like your <c:set and c:out's aren't properly closed. They either
need </c:set> or they need to end with /> (*Chris*)
On Wed, Sep 18, 2019 at 1:09 AM Karen Goh via displaytag-user
<[email protected]> wrote:
I am seeking advice why I am getting c:forEach is unbalanced error in my
JSP/JSP :
<table border="1">
<c:forEach items="${users}" var="t" varStatus="status">
<c:forEach items="${subs}" var="s" varStatus="loop">
<tr>
<td><c:set var="t"
value="${users.tutor_id }" scope="request">
<c:out
value="${tutor.tutor_id}"></td>
<td><c:out value="${t.zipcode}"></td>
<td><c:out value="${t.contactNo}"></td>
<td><c:out value="${s}"></td>
</tr>
</c:forEach>
</c:forEach>
</table>
Thanks
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user