Js
var json = {name: "chelovek", l_name: "chelovek2", age: 22} $('#button').click(function(){ $.ajax("ajax",{ type:"POST", contentType:"application/json", data:'jsonDATA'+JSON.stringify(json), success:function(data){ $('#value').html(data); }} ); }); Controller
@Controller @RequestMapping("/ajax") public class ajaxcontroller { @RequestMapping(method= RequestMethod.POST) @ResponseBody public String hi(HttpServletRequest request){ //вот так взял просто текст.а как взять json из параметра не знаю AsyncContext str = request.getAsyncContext(); return "SPRING MVC " + str; } } How to get data from JSON in a Spring MVC controller?