You can use this:

@RequestMapping(value="/schedule", method = RequestMethod.POST)
public void action(@RequestParam(value = "param[]") String[] paramValues){...}

it will retrieve all values (inside array paramValues) of parameter param (note the attribute value of RequestParam: it end with [])






error 아래꺼

public void action(@RequestParam(value = "param[]") String[] paramValues , 

@RequestParam(value = "param2[]") String[] paramValues2){...}


+ Recent posts