File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to break logic : iterate on condition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to break logic : iterate on condition" Watch "how to break logic : iterate on condition" New topic
Author

how to break logic : iterate on condition

Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
does anyone know how to break logic : iterate on condition like breaking anyother loop with break;
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Do you mean with tags? Which version of Struts? TellTheDetails.
Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
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

Joined: Sep 29, 2008
Posts: 12617

No clue. Could you do that logic on the server side? (That's where I'd do it anyway--easier to code and test.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to break logic : iterate on condition