*
The moose likes Struts and the fly likes Struts 2 iterator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 iterator" Watch "Struts 2 iterator" New topic
Author

Struts 2 iterator

Nisha Kala
Greenhorn

Joined: Nov 17, 2010
Posts: 21
Hi
I got a List of type string with values say for example List<String> str = {"start", "hi", "hello", "start", "hello", "hi"}
If value is start i want to print the next iterator value.

Can anyone help me
Jesus Mireles
Ranch Hand

Joined: Mar 10, 2010
Posts: 122


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 2 iterator
 
Similar Threads
Strings in a List
How to do s:if test of a value in the iterator?
Iteration speed of Collections
For-eaching an iterator
Iterator<String> problem