Carole,

You may want to check the archive of this list at
http://archives.apache.org/eyebrowse/SummarizeList?listId=44

Do a search on "break" and you'll get a lot of information
on the topic.

-- Pierre

Carole Mah wrote:
How would one break out of a <c:forEach>?

For example, in a regular programming language, you might do this
kind of thing:

for (int i=0; i < someMaxValue; i++) {
  if (someCondition) {
    doSomething();
    // So we don't have to bother going through rest of loop:
    i = someMaxValue;
  }
}

How would this be done in a <c:forEach> ??

Thanks.

-carole
------------------
Carole E. Mah
  [EMAIL PROTECTED]
Senior Programmer/Analyst
  Brown University Computing & Information Services
  Academic Technology Services
  Scholarly Technology Group
http://www.stg.brown.edu/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to