Hi
i'm having problems with HashMaps that have
java.lang.String as their keys.
java.lang.Long type works fine as a key, but when i
use a String as a key i get on the client side the same object for all
keys.
for example:
Server side:
hash.put("yo", "yo Object');
hash.put("yi", "yi Object");
Client side:
hash.get("yo") gives "yo Object"
hash.get("yi") gives "yo Object" !!!!!!!!!!!
As for Long types:
Server side:
hash.put(new
Long(1), "yo Object');
hash.put(new
Long(2), "yi Object");
Client side:
hash.get(new Long(1)) gives "yo Object"
hash.get(new
Long(2)) gives "yi Object"
Anyone ? |