So im trying to do something that might not be possible. I want to iterate through something like this:
i is set as an iterator
<c:forEach begin="1" end="${total}" var="i">
<td>${prod${i}.name}</td>
</c:forEach>
This Obviously doesnt work, but I think it portrays what im trying to do.
I want to concatenate a variable to another variable where i is what i want to concatenate to prod.name. Normally product name would be something like this ${prod1.name}. So i want to replace 1 with an iterator as it goes through the loop.
Im very new to JSP and EL type developer. So if im doing this completely wrong please tell me.
Thanks