delete(@RequestBody"/> delete(@RequestBody">
1. Create an iterator
2.While loop to take out the value
3.Use get to get the value
/**
* Delete
* @param reqmap
* @return
*/
@RequestMapping(value = "/delete", method = RequestMethod.POST)
public Map
System .out.println("Received data"+reqmap);
Map
Iterator
while(iterator.hasNext()){
Object key = iterator.next();
System.out.println(reqmap.get( key));
}
map.put("msg", "Delete successfully");
return map;
}
The above is the detailed content of Detailed explanation of how java map obtains values. For more information, please follow other related articles on the PHP Chinese website!