struts-user mailing list archives

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

Hello!

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"
property="key"/></logic:iterate>

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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message