I am using DataTables 1.10 with Spring MVC. When using server side processing it send set of parameters to the controller. It is set of two dimention array but the column being the string like this:
columns[0][data]=
columns[0][name]=
columns[0][orderable]=false
columns[0][search][regex]=false
columns[0][search][value]=
columns[0][searchable]=true
columns[1][data]=
columns[1][name]=
columns[1][orderable]=false
columns[1][search][regex]=false
columns[1][search][value]=
columns[1][searchable]=true
order[0][column]=4
order[0][dir]=desc
order[1][column]=4
order[1][dir]=desc
search[regex]=false
search[value]=
How can I represent this as DTO in Java? Any suggestion?
you can change the data (especially search part which is 3dimension) that you send to the server and make them all as a 2d array. Next you can easily use this link to create your DTO.
It may be an idea to resolving the problem.