• Post Reply Bookmark Topic Watch Topic
  • New Topic

Looping with ForEach

 
Joe Brigs
Ranch Hand
Posts: 70
IBM DB2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
${markDates} is an ArrayList. I'm trying to do a line break if it contains more than 6 dates. I tried using the status.count , but having my problems. If I'm close please let me know. If theres a better way, please give me examole. I'm new to Java & JSP so please excuse my ignorance. Thanks

 
Paul Clapham
Sheriff
Posts: 21875
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't you need the <br> element higher up, so it's controlled by your <c:if> element?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!