I need to set the dynamic value for the var in jstl,
My code is
<c:forEach var="entry" items="${mapData}">
<c:set var="row${entry.key}" value="${entry.value}"/>
</c:forEach>
and want the expected out put like this
var = value
value = key
var value has to be dynamic.
Any help will be appreciated.