Spring 3 JSON with MVC

前端 未结 8 956
温柔的废话
温柔的废话 2020-12-23 02:33

Is there a way to build Spring Web calls that consume and produce application/json formatted requests and responses respectively?

Maybe this i

8条回答
  •  -上瘾入骨i
    2020-12-23 02:56

    Since spring-mvc 3.0 official support for Ajax remoting with JSON is provided as part of Spring MVC. This includes support for generating JSON responses and binding JSON requests using the Spring MVC @Controller programming model.

    see here

提交回复
热议问题