As per your advice, I tried explicitly casting the map to a Map<String, String>
public void setParameters (Map map)
{
Map<String,String> myMap = map;
Object m = myMap.get("criteria");
message = m.toString();
}
No difference. message gets set to [Ljava.lang.String;@9a8a68
Casting myMap.get("criteria") to a String gives the same error
message, ie java.lang.ClassCastException: [Ljava.lang.String; cannot
be cast to java.lang.String
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]