Spring MVC Thymeleaf Tutorial with CRUD Example and Source Code

Published: 03 January 2024
on channel: Java Master
13,144
249

In this tutorial, we study Spring MVC with Thymeleaf.
We check how to create Thymeleaf Fragment and use it, how to submit POST and GET forms, loop through objects list using Thymeleaf.
We also check how to accept data using PathVariable, RequestParam, ModelAttribute.
Source code can be found here: https://github.com/caligula95/spring-...

00:00 - Intro
00:10 - Create Empty Spring Boot project
00:57 - What is resources folder for
01:40 - Serve static index.html on Spring Boot
03:03 - What is Spring Controller. Example of Controller
07:50 - Send data from Thymeleaf to Controller using RequestParam. Submit GET HTML Form
16:15 - Send data from Controller to Thymeleaf using Spring Model attribute
18:46 - Connect CSS to Thymeleaf page
21:00 - Create Thymeleaf Fragment and add it on page
25:25 - Thymeleaf For-Each Example
35:00 - HttpServletRequest Session Example
39:25 - Receive data in Controller from Thymeleaf POST Form submit. Spring MVC Redirect Example
48:42 - Edit Book Functionality: fill Thymeleaf HTML Form with values from Controller. PathVariable example
57:00 - Edit Book Functionality: generate dynamic URL using Thymeleaf href
1:02:52 - Delete Book Functionality


On this page of the site you can watch the video online Spring MVC Thymeleaf Tutorial with CRUD Example and Source Code with a duration of hours minute second in good quality, which was uploaded by the user Java Master 03 January 2024, share the link with friends and acquaintances, this video has already been watched 13,144 times on youtube and it was liked by 249 viewers. Enjoy your viewing!