SpringMVC中的先后台传值注意事项

1.前台设置contentType:"application/x-www-form-urlencoded",前台是JSON对象,后台接收方法能够是字符串、对象。示例以下:ajax function remoteService(url,postData) { var res = ""; $.ajax({                 cache: true,                 typ
相关文章
相关标签/搜索