摘要: 在jsp页面中,引入 使用方式 阅读全文
posted @ 2019-03-26 15:39 乘着风破万浪 阅读(588) 评论(0) 推荐(0) 编辑
摘要: 修改springboot支持jsp 在springboot中,默认是不支持jsp页面的,如果想要使用jsp页面,做如下更改: 1)引入springboot对jsp支持的jar包 2)修改springboot的配置文件,让springboot的默认视图为jsp 3)在springboot的应用中加入启 阅读全文
posted @ 2019-03-26 15:27 乘着风破万浪 阅读(698) 评论(0) 推荐(0) 编辑
摘要: springboot配置文件application.yml的拆分: 拆分原因:对dev环境和product生产环境进行区分 application.yml或application.yaml书写公共配置 application-dev.yml application-prod.yml 使用哪一种环境, 阅读全文
posted @ 2019-03-26 15:16 乘着风破万浪 阅读(4175) 评论(0) 推荐(0) 编辑
摘要: 最近在学习springboot的相关内容,springboot整合mybatis的步骤如下: 1.导入jar 有关mysql,dbcp,mybatis,spring-boot-starter-web相关的jar包 2.配置springboot配置文件 spring在整合mybatis的时候经历了以下 阅读全文
posted @ 2019-03-26 13:55 乘着风破万浪 阅读(1378) 评论(0) 推荐(0) 编辑