07 2016 档案
AngularJs Cookie 的使用
摘要:最新在学习 AngularJs ,发现网上很难搜到 AngularJs.Cookie 教程, 就自己写篇博客,希望能帮到刚学的人。 废话不多说上代码 首先要引用 angular-cookies.js $cookieStore 有三个方法 : 1:get(key) 获取cookie 2:put(key 阅读全文
posted @ 2016-07-29 10:28 adolfmc 阅读(312) 评论(0) 推荐(0)
angularjs post
摘要:/** * POST 1 * $http.post('http://localhost:8001/quickstart/task/create', { newTask: newTask }) */ /** * POST 2 * http.post('http://localhost:8001/qui 阅读全文
posted @ 2016-07-29 09:42 adolfmc 阅读(211) 评论(0) 推荐(0)
SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法
摘要:最近angularjs post到后台 400一头雾水 没有任何错误。 最后发现好文,感谢作者 SpringMVC中出现" 400 Bad Request "错误(用@ResponseBody处理ajax传过来的json数据转成bean)的解决方法 今天开发过程中,在SpringMVC中的Actio 阅读全文
posted @ 2016-07-28 15:55 adolfmc 阅读(6667) 评论(0) 推荐(0)