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 7 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
It's weird that we cook bacon and bake cookies. Eat this tiny ad: