您实际上并没有解析json。
JSonObject jObj = new JSonObject(request.getParameter("mydata")); // this parses the jsonIterator it = jObj.keys(); //gets all the keyswhile(it.hasNext()){ String key = it.next(); // get key Object o = jObj.get(key); // get value session.putValue(key, o); // store in session}


