• Post Reply Bookmark Topic Watch Topic
  • New Topic

showing contents of arraylist using c:forEach

 
mark hunt
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have JSTL1.1 on tomcat 5.0.30. I have a bean object set in the session scope. This object has region property of type ArrayList that contains another bean object in it. If i try to access it using scriptlets like:


It works fine but i want to move away from scriplets so am trying to use JSTL as follows:


I'm not even printing the regionId or RegionName, just simply trying to loop through first. I'm getting the following error:


Could some one please shed some light on what i'm doing wrong. Any help would be greatly appreciated.

Thanks,
mark
 
mark hunt
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem solved.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!