1@RequestBody
@RequestBody Entity entity
name=entity.getName();
password=entity.getPassword();
2@RequestMapping(/url/{name}/{passwword})
@PathVariable("name") String name,@PathVariable("password") String password
ajax:url:"url/"+name+"/"password
3@RequestBody
HttpServletResponse response,@PathVariable("name") String name,@PathVariable("password") String password
response.Write.getWrite(JSON.toJSONString(entity));
response.Write.flush();