2018年1月16日

springMVC 中 ajax get 请求和 post 请求的坑以及参数传递

摘要: 1, ajax 请求 无论为 post ,或者 get ,url中带有?形式的参数,后台都能以String类型变量接收,变量名称和参数名称必须一致 前台ajax: $.ajax( "productForm?loginname2=jichen",// 发送请求的URL字符串。 { dataType : 阅读全文

posted @ 2018-01-16 11:51 吉晨 阅读(11057) 评论(0) 推荐(2) 编辑

导航