struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Iterating over Hashtable in jsp - wrong sort order
Date Mon, 02 Oct 2006 10:56:34 GMT


I've got a Hashtable

Hashtable <Integer, ArrayList<SomeObject>> mytable;

The keys of this Hashtables are Integers, which are added in ascending order.

In the jsp, I'm doing the following:

<logic:iterate name="mytable" id="element"><bean:write name="element"

The keys are now listed in descending order - but I need ascending order. How
can I change this behaviour?

Thanks for any hint,
kind regards,
Andreas Hartmann

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message