将通过输入流获取json格式数据转为map格式
转换代码:
try {
int length = 0;
//通过输入流获取到json格式数据
ServletInputStream inputStream = getActionRequest().getInputStream();
//或者使用session和request获取数据
//ServletInputStream inputStream = session.getInputStream();
//ServletInputStream inputStream = request.getInputStream();
//定义数组存放数据
byte buffer[] = new byte[2048]</