I know this might be silly question and i tried googling but didnt got perfect answer.
I am using following code
HTTP request parameters are treated as strings. With jsp:param
it's basically been converted to string by String#valueOf()
. Rather store it as object in the request scope with help of <c:set>
.
<c:forEach var="aggregatedBatchProgressMetrics" items="${batchProgressMetricsList}">
<c:set var="batchProgressMetrics" value="${aggregatedBatchProgressMetrics}" scope="request" />
<jsp:include page="html/tableContentsDisplayer.jsp" />
</c:forEach>
<tr>
<td class="tdcenter">${batchProgressMetrics["clientId"]}</td>
<td class="tdcenter">${batchProgressMetrics["instrumentStats"]["totalImntsCompleted"]}</td>
<td class="tdcenter">${batchProgressMetrics["instrumentStats"]["totalImntsRemaining"]}</td>
</tr>