开发者

jQuery load() and Spring 3 MVC

开发者 https://www.devze.com 2023-01-26 08:43 出处:网络
How can Spring 3 MVC receive the JSON data posted by jQuery load()? It seams to r开发者_高级运维evive it. Can anyone help me? When I use @Responseboy, it works.if you want to get JSON data from spring

How can Spring 3 MVC receive the JSON data posted by jQuery load()? It seams to r开发者_高级运维evive it. Can anyone help me? When I use @Responseboy, it works.


if you want to get JSON data from spring mvc, you should use $.getJSON method of jquery.

0

精彩评论

暂无评论...
验证码 换一张
取 消