Can't map a Query String parameters to my JavaBean (using Spring 4 and Datatables)

后端 未结 3 1853
名媛妹妹
名媛妹妹 2020-12-14 11:39

I\'m really stuck into trying to map my QueryString parameters into my Spring JavaBean Command object here, and I couldn\'t find an answer to my question so far.

I\'

3条回答
  •  心在旅途
    2020-12-14 12:38

    You send columns[0] as parameter, but columns has no entry with the index 0. In fact it has no entry at all as it is null.

    You have to instantiate the list in the constructor of DataTableCriterias in order to make this work. And it has to have enough entries for the parameters you send.

提交回复
热议问题