Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to break logic : iterate on condition

 
Shilpa Tendulkar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does anyone know how to break logic : iterate on condition like breaking anyother loop with break;
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean with tags? Which version of Struts? TellTheDetails.
 
Shilpa Tendulkar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its an old application. Struts 1.1. I have a list allChannels and another list zoneChannels, whenever element from allChannel is matches with zone channels list i need to break the iteration and continue with outer list iteration


Sorry for not providing details earlier. Thanks for your help
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No clue. Could you do that logic on the server side? (That's where I'd do it anyway--easier to code and test.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic