loop over a list of strings spring boot code example Example: spring iterate for (String m : myList) { ... }