loop « EL « JSP-Servlet Q&A





1. Concatenating in JSP/EL through a loop    stackoverflow.com

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 ...

2. Can we put EL in a for loop?    coderanch.com

3. Not able to execute code for forEach loop in EL    coderanch.com

Vijitha, I am just trying to see whether message in the LinkedList is getting displayed or not, hence java code, I will later put it in bean file. Server is GlassFish 3.1 and using Netbeans 7.0.1 and the output is the same which I have already mentioned. Again repeating - Please correct the following errors: Please note the following code ...