摘要: request 和response 中的setCharacterEncoding区别 response.setContentType与 request.setCharacterEncoding 区别 1、request.setCharacterEncoding()是设置从request中取得的值或从 阅读全文
posted @ 2018-06-26 10:28 杨柳春色 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/qq_28796345/article/details/53427134 相关链接: 相关配置文件:详见 http://blog.csdn.net/qq_28796345/article/details/53427020 基本配置:详见 http:// 阅读全文
posted @ 2018-06-06 15:06 杨柳春色 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/u010800201/article/details/72674420 深入浅出spring IOC中四种依赖注入方式 PS:前三种是我转载的,第四种是现加的,按照原来的代码模式 spring 的核心思想是IOC和AOP,IOC-控制反转,是一个重要的 阅读全文
posted @ 2018-06-05 17:19 杨柳春色 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/gaomb_1990/article/details/78299784 一、准备 Eclipse:Luna Service Release 1 (4.4.1)MyBatis:org.mybatis.mybatis-3.2.8JDK:1.7.0_79 二 阅读全文
posted @ 2018-06-05 17:12 杨柳春色 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 转:https://www.cnblogs.com/sunniest/p/4555801.html 一、SpringMVC基础入门,创建一个HelloWorld程序 1.首先,导入SpringMVC需要的jar包。 2.添加Web.xml配置文件中关于SpringMVC的配置 按 Ctrl+C 复制 阅读全文
posted @ 2018-06-05 17:11 杨柳春色 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 转:https://www.cnblogs.com/zyw-205520/p/4771253.html 1、基本概念 1.1、Spring Spring是一个开源框架,Spring是于2003 年兴起的一个轻量级的Java 开发框架,由Rod Johnson 在其著作 Expert One-On-O 阅读全文
posted @ 2018-06-05 16:41 杨柳春色 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/zhshulin/article/details/23912615 这两天需要用到MyBatis的代码自动生成的功能,由于MyBatis属于一种半自动的ORM框架,所以主要的工作就是配置Mapping映射文件,但是由于手写映射文件很容易出错,所以可利用 阅读全文
posted @ 2018-06-05 16:38 杨柳春色 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.cnblogs.com/hellokitty1/p/5216025.html 首先给大家推荐几个网页: http://blog.csdn.net/isea533/article/category/2092001 没事看看 - MyBatis工具:www.mybatis.tk 阅读全文
posted @ 2018-05-31 19:58 杨柳春色 阅读(176) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/tenWood/p/6736700.html?utm_source=itdadao&utm_medium=referral 需求就是: 现在保存一个Student,并且保存Student的friend,一个student会有多个朋友,这里要传递到后台的 阅读全文
posted @ 2018-05-30 19:49 杨柳春色 阅读(333) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/eson_15/article/details/51718633 众所周知,springmvc是用来处理页面的一些请求,然后将数据再通过视图返回给用户的,前面的几篇博文中使 用的都是静态数据,为了能快速入门springmvc,在这一篇博文中,我将总结一下s 阅读全文
posted @ 2018-05-30 19:33 杨柳春色 阅读(340) 评论(0) 推荐(0) 编辑