ClassCastException when changing from HashMap to TreeMap

2008-10-17 Thread Gabriel Belingueres
Hi, I was accessing a MapInteger, MyClass implemented with a HashMapInteger, MyClass from JSTL (v.1.1.2) using the following expression: ${map[param.myid].name} and it worked well. However, when I changed the implementation to a TreeMapInteger, MyClass the expression stop working because it

Re: ClassCastException when changing from HashMap to TreeMap

2008-10-17 Thread Gabriel Belingueres
values returned or null? On Fri, Oct 17, 2008 at 10:48 AM, Gabriel Belingueres [EMAIL PROTECTED] wrote: Hi, I was accessing a MapInteger, MyClass implemented with a HashMapInteger, MyClass from JSTL (v.1.1.2) using the following expression: ${map[param.myid].name} and it worked well