Do it in the business layer that fetches the collection -- or in the database -- or store the data in a sorted collection (like SortedTreeMap or some similar animal).

Craig Dickson wrote:

Hi,

Is there an easy way to have the JSTL forEach tag sort the collection of
items before looping through them? Currently I have a scriptlet doing it
before the loop tag, but this is pretty ugly.

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to