Spring boot, view model data list by thymeleaf | স্প্রিং বুট
Автор: Md. Emran Hossain
Загружено: 2018-11-17
Просмотров: 558
Описание:
This tutorial about beginning of steps for spring boot thymeleaf engine
--- --- --- --- --- --- ---
GitHub Gist: https://gist.github.com/Emran-Java/08...
--- --- --- --- --- --- ---
Step1: Add thymeleaf librery in "build.gradle"
dependencies {
//Add this library
implementation('org.springframework.boot:spring-boot-starter-thymeleaf')
//.....
testImplementation('org.springframework.boot:spring-boot-starter-test')
}
Step2: Configure "application.yml", add -
spring:
thymeleaf:
cache: true
now sync gradle
Step3: create a html file to view models data in project resource templates directory
Step4: we show User model data, so we add those codes below
Step5: Update UserCtrl Controller
Step6: Run progect
--- --- --- --- --- ---
We continue this project with previous project
You can rech previous project from github
https://github.com/Emran-Java/SprinMy...
--- --- --- --- --- ---
Previous video:
• Spring Boot MySQL database connect by JPA ...
--- O ---
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: