How to display WCParam or params and its Values in JSP

If you would like to display all the keys/values of the WCParam or params variable then you are at right place.

Just use below code to display WCParam and its Values in JSP.

<c:forEach var="aParam" items="${WCParamValues}" varStatus="paramStatus">
 <c:forEach var="aValue" items="${aParam.value}"  varStatus="paramNumStatus">
   key : <c:out value="${aParam.key}" />, value : <c:out value="${aValue}" /> <br/>
 </c:forEach>
</c:forEach>

Leave a Reply