How can I concatenate a string within a loop in JSTL/JSP?
Posted
by codeninja
on Stack Overflow
See other posts from Stack Overflow
or by codeninja
Published on 2010-03-30T02:08:59Z
Indexed on
2010/03/30
2:33 UTC
Read the original article
Hit count: 409
<c:forEach items="${myParams.items}" var="currentItem" varStatus="stat">
<c:set var="myVar" value="<c:out var="myVar" />" />
</c:forEach>
I want to concatenate the values of currentItem.myVar and output it at the end of the loop, problem is I can't figure out how to do this...
(Preferably not using Java)
© Stack Overflow or respective owner