string a = request.getParameter("ids");
前台是
$.ajax({ type: 'POST',dataType: 'TEXT',cache: false,data: 'ids=' +ids
现在看到的规律是ids短一点就有正常的值,
ids长了,a就直接是null了 。
求大神帮忙看一下~
奇怪的是,尝试用@RequestBody String body这种方式的话,相同的内容就取得到值。
string a = request.getParameter("ids");
前台是
$.ajax({ type: 'POST',dataType: 'TEXT',cache: false,data: 'ids=' +ids
现在看到的规律是ids短一点就有正常的值,
ids长了,a就直接是null了 。
求大神帮忙看一下~
奇怪的是,尝试用@RequestBody String body这种方式的话,相同的内容就取得到值。