• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts2.3 need to break on success result in <s:iterator>

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,

My development scenario and its related query is as follows:

1) Suppose there are four rows for the same registerationId in the table

2) Now, while iterating this four rows in jsp my condition is like if userId falls in second row den respected response to be printed and then it should not go to iterate in 3rd and fourth row..

3) There is no syntax related to Break in OGNL . If it is there then would request you to provide me solution for related scenario.

Looking forward for your feedback.

Thanks and
Best Regards,
Brijesh shah

 
Ranch Hand
Posts: 94
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Brijesh shah wrote:
2) Now, while iterating this four rows in jsp my condition is like if userId falls in second row den respected response to be printed and then it should not go to iterate in 3rd and fourth row..



Did not understand what your condition/requirement is please provide some code or existing result and expected result.
 
reply
    Bookmark Topic Watch Topic
  • New Topic