# springboot_web_basic **Repository Path**: htctoboy/springboot_web_basic ## Basic Information - **Project Name**: springboot_web_basic - **Description**: springboot做的一个简单的Web项目 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2016-12-30 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README springboot_web_basic
SpringBoot项目
1、配置文件使用yml,application.yml,在resources/config目录下,项目自动会去读取
1)、服务相关信息
2)、http配置
3)、datasource配置
4)、redis配置
5)、thymeleaf配置
6)、logging配置
2、orm框架使用Mybatis
3、显示层使用thymeleaf模板,页面文件都在templates目录下,项目会自动去查找此目录下的页面资源.
1)、templates目录下至少有一个html/jsp文件,否则项目启动的时候会报错.
2)、页面文件引用scirpts文件时,只需要写static目录下的文件路径就可以了.比如jquery.js在static/scripts/jquery.js, 那么在引入的时候直需要写src="/scripts/jquery.js"即可