
SpringBoot
每天都要进步
这个作者很懒,什么都没留下…
展开
-
SpringBoot Web开发
使用SpringBoot;**1)、创建SpringBoot应用,选中我们需要的模块;****2)、SpringBoot已经默认将这些场景配置好了,只需要在配置文件中指定少量配置就可以运行起来****3)、自己编写业务代码;****自动配置原理?**这个场景SpringBoot帮我们配置了什么?能不能修改?能修改哪些配置?能不能扩展?xxxxxxxAutoConfiguration:帮...原创 2019-03-13 22:19:05 · 213 阅读 · 0 评论 -
模板引擎Thymeleaf
JSP、Velocity、Freemarker、ThymeleafSpringBoot推荐的Thymeleaf;语法更简单,功能更强大;### 1、引入thymeleaf;```xml<dependency><groupId>org.springframework.boot</groupId>...原创 2019-03-14 22:33:15 · 233 阅读 · 0 评论 -
Spring Boot
日志框架的发展:开发一个大型系统;1、System.out.println("");将关键数据打印在控制台;去掉?写在一个文件?2、框架来记录系统的一些运行时信息;日志框架 ;zhanglogging.jar;3、高大上的几个功能?异步模式?自动归档?xxxx?zhanglogging-good.jar?4...原创 2019-03-12 22:19:09 · 174 阅读 · 0 评论 -
SpringBoot日志的使用和配置
SpringBoot默认帮我们配置好了日志//记录器 Logger logger = LoggerFactory.getLogger(getClass()); @Test public void contextLoads() { //System.out.println(); //日志的级别; //由低到高 trace<debug<info<warn...原创 2019-03-13 22:15:53 · 766 阅读 · 0 评论