When
jQuery.ajax({ ...
data: {
search: {input : 'value'}
array : [1,2]
}
}
The method will request the url:
url?search[input]=value&array[]=1&array[]=2
which follows the application/x-www-form-urlencoded format from what I understand.
But the Spring application, can not turn this into a HashMap for search or array[] on key array on the server side.
Instead this is what we get,
Is there a way to add filter in Spring to participate in the creation of the request.getParameterMap() ?
Are there any such filters already written and available as opensource?
Any other thoughts?