Struts 2 TypeConversion problem
- by Parhs
Hello... i have a big problem...
i have this map
HashMap<Long, String> examValues;
It gets populated by textboxes automatically with name="examValues[id]" Although i explicily defined the element as String , it doesnt care!!!
I want everything to be a String...
The result is to get a
java.lang.ClassCastException: java.lang.Long cannot…