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 ends with []
)