I have an arraylist<String>. I am using s:iterator tag to display it. But I want to display 2 items at a time.
Is there any way to show 2 items at one iteration. How can I increment current count within iteration and display next item within arraylist.
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
posted 6 years ago
Thanks for the reply
But I dont want it this way. I simply want to print next values in same iteration.
SCJP 6 (88%), SCWCD 5 (78%), preparing for SCBCD
Good night. Drive safely. Here's a tiny ad for the road:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop