servlet中request获取postF方法的jsonBody体
解决方法:
try {
InputStream is= null;
is = request.getInputStream();
String jsonBody = IOUtils.toString(is, "utf-8");//import org.apache.commons.io.IOUtils;
JSONObject json = JSON.parseObject(jsonBody);//import com.alibaba.fastjson.JSON;
} catch (Exception e) {
}