Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Looping with ForEach  RSS feed

 
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: 22487
43
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!