java - Using break; in Struts1 <logic:iterate> -


i using struts 1.2 web application. iterating through garments collection , searching whether of garments price greater $1000 or not. if of them satisfies condition no need iterate through remaining garments collection, simple break , come out of iterator.

for comparing price, using , present inside .

i not able break out once garment price condition satisfied (i.e. >$1000).

kindly let me know how break iteration in struts 1.2.

regards,

struts 1 not have in-built tag breaking <logic:iterator> in between.


Comments