form上如果加上 enctype="multipart/form-data" 属性,那么后台request.getParameterMap()接受到的参数是 hashmap类型的。
如果没有这个属性,那么后台request.getParameterMap()接受到的参数是 unmodifiablemap类型的,这个类型的map是只读,
如果想修改,重新定义构造一个HashMap,参数传递上面那个unmodifiablemap对象。然后用构造出来的HashMap对象进行操作。
如果没有这个属性,那么后台request.getParameterMap()接受到的参数是 unmodifiablemap类型的,这个类型的map是只读,
如果想修改,重新定义构造一个HashMap,参数传递上面那个unmodifiablemap对象。然后用构造出来的HashMap对象进行操作。