Map<String,String> map=request.getParameterMap();
是不可修改的地图
Set s1= map.keySet();
Set s2= map2.keySet();/* another keyset of local map*/
使用 s1. retain all(s2)
丢出一个例外: at java. util. recollects$unmodable recollation. retain all
Here request.getParameterMap()
returns an unmodifiable map.. I tried creating a local map. But the issue stil persists.
Suggest some solution.