So, basically, I have a form that sends the following inputs:
<form>
<input type="text" name="days[monday][start]" value="1">
<input type="text" name="days[monday][end]" value="2">
<input type="text" name="days[tuesday][start]" value="1">
<input type="text" name="days[tuesday][end]" value="2">
</form>
How to handle this in Spring MVC as @RequestParam?
So far I tried
@RequestParam(value= "days", required = true) Map<String, Object>[] days
......
@RequestParam(value= "days", required = true) Map<String, Map<String, Object>> days
... or even ...
request.getParameter("days");
But without success.