Spring3 MVC —json+rest优化

1 Spring3 MVC 笔记(二) —json+rest优化 

http://7454103.iteye.com/?show_full=true 
2 jquery 遍历对象、数组、集合 
http://blog.sina.com.cn/s/blog_5db0dfe40100hay7.html 
3 jquery 遍历 map(callback) 
http://kaxu.iteye.com/blog/308367 
4  Jquery的map遍历 
http://blog.csdn.net/niu870781892/archive/2010/04/13/5479850.aspx 
5 Spring mvc3的ajax 
http://xace.iteye.com/blog/731263 
6 Spring MVC 学习笔记 九 json格式的输入和输出 
http://starscream.iteye.com/blog/1067606 

在SpringMVC中使用JSON必须注意二点 
必须包含:jackson的jar包,我使用的是: jackson-all-1.8.1.jar, 
可在官网:http://mvnrepository.com/artifact/org.codehaus.jackson中去下载 
在springmvc.xml配置文件中必配置: <mvc:annotation-driven/> 
3 jquery.json-*.*.min.js 
实现功能: 从后台获取对象,List,Map在前台显示,前台提交JSON数据格式到后台并且返回
 

posted on 2014-01-20 14:08  影子gl  阅读(217)  评论(0编辑  收藏  举报

导航