Here is my controller code
@RequestMapping(value=\'/user\', method = requestmethod.post) public String getVal(List userList) { try { String re