2011/9/12 <spr...@gmx.eu>: > Hi, > > in a jsp I have an expression like this: > > ${states.get(state)}
Did it work before, and in what exact versions of Tomcat? I would write that as ${states[state]} > > On my dev machine everything works fine, on the staging it does not work, I > get: > > java.lang.NoSuchMethodException: java.util.HashMap.get(java.lang.Integer) > > states is: > > Map states = new HashMap(); > states.put(1, "foo"); > ... > > > Both machines running Java 1.6 with Tomcat 7. What exactly version on Tomcat 7.0.x? There is a new one every month. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org