-
整合定時任務(wù)Task:
使用注解 @EnableScheduling 開啟定時任務(wù),會自動掃描
定義 @Component 作為組件被容器掃描
查看全部 -
引入依賴
配置
查看全部 -
引入事務(wù)執(zhí)行回滾:
@Transactional(propagation = Propagation.REQUIRED)
查看全部 -
mybatis 配置:
查看全部 -
使用generatorConfig生成Mapper以及pojo
實(shí)現(xiàn)基于mybatis的CRUD功能
整合mybatis-pagehelper實(shí)現(xiàn)分頁
查看全部 -
頁面跳轉(zhuǎn)形式:
查看全部 -
兼容web 與 ajax 形式的全局異常處理:
查看全部 -
Ajax形式配置全局異常捕獲:
查看全部 -
thymeleaf 常用標(biāo)簽使用方法:
基本使用方法
對象引用方法
時間類型轉(zhuǎn)換
text 與 utext
URL 顯示方式
引入靜態(tài)資源文件 js/css
條件判斷 th:if
th:unless 與 th:if
循環(huán) th:each
th:switch 與 th:case
查看全部 -
thymeleaf 靜態(tài)資源配置:
查看全部 -
freemarker 靜態(tài)資源配置:
查看全部 -
服務(wù)端相關(guān)配置:
tomcat 相關(guān)配置:
查看全部 -
屬性資源配置:
查看全部 -
添加熱部署后的配置;
查看全部 -
1、簡化配置,不用看過多的xml
2、springboot使用場景:web項(xiàng)目、j2ee
3、微服務(wù)
查看全部
舉報