摘要:
SSM整合(ForestBlog为例) 原版本github地址 :https://github.com/saysky/ForestBlog 文中版本地址:https://github.com/Yanshaoshuai/ForestBlog web.xml spring mvc.xml spring 阅读全文
posted @ 2020-05-23 21:11
天涯屐痕
阅读(462)
评论(0)
推荐(0)
摘要:
MyBatis整合Spring 官方文档 http://mybatis.org/spring/zh/index.html 配置: https://mybatis.org/mybatis 3/zh/getting started.html 原生Mybatis使用 mybatis.xml配置文件 map 阅读全文
posted @ 2020-05-23 21:08
天涯屐痕
阅读(160)
评论(0)
推荐(0)
摘要:
Mybatis 原始方式 SqlMapConfig.xml+UserMapper.xml 查询 SqlMapConfig.xml UserMapper.xml 使用: 模糊查询: ${} 取值 用在Mapper.xml文件中表示值替换相当于字符串拼接sql 会造成sql注入,但在某些场景必须用它,比 阅读全文
posted @ 2020-05-23 21:07
天涯屐痕
阅读(218)
评论(0)
推荐(0)
摘要:
Spring MVC 官方文档:https://docs.spring.io/spring/docs/5.3.0 SNAPSHOT/spring framework reference/web.html spring web MVC Model (javabean) View (jsp,freema 阅读全文
posted @ 2020-05-23 21:02
天涯屐痕
阅读(168)
评论(0)
推荐(0)