Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为我的 Web 应用程序使用 Struts 1.2。我正在遍历服装系列并搜索是否有任何服装的价格大于 1000 美元。如果其中任何一个满足条件,则无需遍历剩余的服装集合,只需中断并退出迭代器。
为了比较价格,我使用的是 ,它存在于 .
一旦满足服装价格条件(即>1000 美元),我就无法摆脱困境。
请让我知道如何打破 struts 1.2 中的迭代。
问候,
Struts 1 没有任何in-built标签来打破<logic:iterator>中间。
in-built
<logic:iterator>