I ma trying to create a jsp page using c:forEach tag to control the display. I m having two list objects in my page and I want to have those objects in the nested loop so that I can display waht I want. Here is the code:
When I am using this code I am not getting images in any of the columns. Is there any mistake in comparing two different variables from two different lists?
Can anyone help me in it?
Aalok Mishra wrote:So you mean to say that i can not compare two different list objects using c:forEach even if I use nested c:forEach?
No, I mean to say that you have to use proper EL syntax in the c:if tag's test attribute.
Joined: Dec 23, 2008
Thanks for your quick reply, but I solved the problem on my own.
I figured out the discontinuty in data which was causing no display on the age, once that was sorted out
it was all a piece of cake.
Thanks for your suggestions though, they will help in furture!