jqGrid 能调到后台,用response.getWriter().write(json);返回。但是jqGrid显示不出来。
后台把json打印出来,格式应该没错。英文出不来,中文更别说了。{'total':1,'page':1,'records':7,'rows':[{'id':'090531...
后台把json打印出来,格式应该没错。英文出不来,中文更别说了。
{'total': 1, 'page': 1, 'records': 7, 'rows': [{'id':'09053111','name':'a','password':'09053111','note':'null'},{'id':'09053112','name':'b','password':'09053112','note':'null'},{'id':'09053113','name':'c','password':'09053113','note':'null'},{'id':'09053114','name':'d','password':'09053114','note':'null'},{'id':'09053115','name':'e','password':'09053115','note':'null'},{'id':'09053116','name':'f','password':'09053116','note':'null'},{'id':'09053117','name':'g','password':'09053117','note':'null'}]} 展开
{'total': 1, 'page': 1, 'records': 7, 'rows': [{'id':'09053111','name':'a','password':'09053111','note':'null'},{'id':'09053112','name':'b','password':'09053112','note':'null'},{'id':'09053113','name':'c','password':'09053113','note':'null'},{'id':'09053114','name':'d','password':'09053114','note':'null'},{'id':'09053115','name':'e','password':'09053115','note':'null'},{'id':'09053116','name':'f','password':'09053116','note':'null'},{'id':'09053117','name':'g','password':'09053117','note':'null'}]} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询