Hi Ranchers, Please give some suggestion for the following problem.. Iam working on web project, ....there is an arraylist which is filled with some data from DB...and displayed in a jsp... My requirement is to reverse the order of elements....
Collections.reverse(List list) method is not working..
Thank you in advance...
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35224
7
posted
0
Collections.reverse(List list) method is not working..
What does this mean? Can you give us a small example of what it does or doesn't do?
My apologies, my previous post came out shorter than I wanted.
What I was trying to say is that since reverse() should work but is not, this may be indicating a further problem. Find an alternate solution rather than using reverse() is, in my opinion, working on the wrong problem and may leave you open to errors elsewhere.