![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringMVC
小李讲源码
不积跬步无以至千里,不积小流无以成江河
展开
-
SpringMVC Controller 介绍
http://haohaoxuexi.iteye.com/blog/1753271 细是细,有点多,慢慢看,写的不错转载 2016-08-15 18:12:37 · 299 阅读 · 0 评论 -
SpringMVC 配置文件
1.web.xml spring org.springframework.web.servlet.DispatcherServlet spring *.do ,-servlet.xml 2.spring-servlet.xml <beans xmlns="http://www.springframework.org/schema/bea原创 2016-08-19 14:02:00 · 322 阅读 · 0 评论 -
spring 和 mybatis 的整合过程
1.这两个配置项不再需要 (1) 参考文章: http://chenjumin.iteye.com/blog/456351 (2) 参考文章: http://blog.sina.com.cn/s/blog_872758480100wtfh.html 当使用 后,就可以将 移除了 2.配置datasource原创 2016-08-24 12:00:21 · 330 阅读 · 0 评论 -
通过json格式返回服务器对象
注解@ResponseBody 修改servlet-spring.xml text/html; charset=UTF-8 applicat原创 2016-08-25 12:00:47 · 520 阅读 · 0 评论 -
SpringMVC图片上传
转自:http://www.programgo.com/article/28003253386/ 上传照片 $(document).ready(function() { $("input[type='file']").change(function(evt) { var files = evt.target.files;转载 2016-08-25 12:36:34 · 542 阅读 · 0 评论 -
Spring 4.1+ 的 JSONP使用
转自:http://www.cnblogs.com/leechenxiang/p/5430546.html 如今的巨石应用已经越来越不行了,很多互联网在后期都会在用分布式的架构 那么在页面上不同的服务调用不同域名下的json是有问题的 (跨域:不同域名,相同域名但是不同端口) JavaScript规范中提到的json是不能直接跨域调用,为了安全,但是能调用js片段 所以把json包装转载 2017-04-10 21:04:40 · 380 阅读 · 0 评论