Ljava.lang.String 转cannot be cast to java.lang.String

Ljava.lang.String 转  java.lang.String

Map requestParamsMap=request.getParameterMap();
Set key = requestParamsMap.keySet();
for (Object obj : key.toArray()) {
String parakey = obj.toString();
String paravalue = ((String[]) requestParamsMap.get(obj))[0]
.toString();
map.put(parakey, paravalue);
}
return map

你可能感兴趣的:(request,getparametermap)