Spring MVC接收参数 JSON格式求JSP页面代码 以及Controller代码
@RequestBody@RequestMapping("")public Map test(){Map m=new HashMap();m.put("xux","111");return m;}
jsp 直接用el取值 ${xux}
如果是前台ajax传值,后台接受的话: