Spring MVC Thymeleaf Tutorial with CRUD Example and Source Code

Veröffentlicht am: 03 Januar 2024
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Spring MVC Thymeleaf Tutorial with CRUD Example and Source Code mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Java Master 03 Januar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 13,144 Mal angesehen und es wurde von 249 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!