public JSONObject GetajaxJson(HttpServletRequest req) throws IOException {
JSONObject json = new JSONObject();
BufferedReader br =req.getReader();
StringBuilder sb = new StringBuilder();
String line = null;
while ((line = br.readLine()) != null) {
sb.append(line);
System.out.println(line+"????");
}
br.close();
String parseJson=sb.toString().replaceAll("=", "\":\"").replaceAll("&", "\",\"");
String JsonString= "{\"" + parseJson + "\"}";
System.out.println(JsonString);
json = JSONObject.parseObject(JsonString);
System.out.println(json.toJSONString());
return json;
}
}