struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <apetre...@apache.org>
Subject Re: Calling an action from the view (from JSP)
Date Mon, 02 Oct 2006 11:03:06 GMT
Andreas.Hartmann@fiducia.de ha scritto:
> Hello!
>
> I've got a Hashtable
>
> Hashtable <Integer, ArrayList<SomeObject>> mytable;
>   


Hashtable does not guarantee anything about order!

> The keys are now listed in descending order

Really? I think it's a lucky behaviour!

>  - but I need ascending order. How
> can I change this behaviour?
>   

Use LinkedHashmap

Ciao
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message