最新回答 / 晨斯枫
发现下面已有同学解决了问题:将:post.setEntity(new UrlEncodedFormEntity(list));改成:post.setEntity(new UrlEncodedFormEntity(list, HTTP.UTF_8));即可
2017-02-27
最新回答 / 用户1098335
http://grepcode.com/snapshot/repo1.maven.org/maven2/com.google.code.gson/gson/2.2.2/
2016-12-15
已采纳回答 / D_inasour
在服务器端依据key来选择你的数据,比如url中“?person=”+“张三”;那么在服务器端提取是request.getParameter("name"),如果是一个类的对象,那么在服务器需要定义这个类。与名字无关。即:服务器自己的数据类,客户端自己的数据类但是类里面定义的要一样的
2016-12-10