Learn Thymeleaf with Spring Boot: server-side MVC rendering, forms, data binding, PathVariable and a complete CRUD in Java.
If you want to build Java web applications without relying on heavy frontend frameworks, Thymeleaf with Spring Boot is the right choice. In this course I take you step by step from the MVC architecture and 2-Tier applications all the way to building a complete CRUD, with HTML forms, data binding, and dynamic Bootstrap 5 tables.
We start from the basics — what a template engine is and why Thymeleaf integrates perfectly with Spring MVC — and build a real application together. Each concept is introduced with concrete examples: first we understand the why, then we write the code. The end result is a working, well-structured CRUD application ready to be extended.
Designed for Java developers who know the basics of Spring Boot and want to add server-side rendering to their toolkit. Also useful for those coming from a REST-only approach who want to understand when and why to use a template engine like Thymeleaf instead of a separate frontend.
Let's complete the Thymeleaf + Spring Boot CRUD: I'll finalize the second part of the insert flow with an HTML Form POST, completing object persistence and the redirect after saving.
Let's start the CRUD insert flow in Thymeleaf: I'll create the HTML Form with POST submission to the Spring MVC controller and handle automatic binding between the form and the Java object.
Let's display the CRUD object list in a Bootstrap 5 table with Thymeleaf: I'll pass the list from the Spring MVC controller to the view and iterate it with th:each to render the data neatly.
Let's set up the Controller for a complete CRUD in Spring MVC + Thymeleaf: I'll organize the methods, define the mappings, and structure the project before building the insert, display, and edit features.
I'll introduce HTML Form POST data exchange in Thymeleaf + Spring MVC: the differences from GET, how to handle POST requests in the controller, and how to do automatic binding between the form and Java objects.
Let's consolidate GET HTML forms in Thymeleaf: real-world cases with multiple fields, common parameter naming errors, and typical behaviors to handle correctly in the Spring MVC controller.
I'll introduce HTML Forms in Thymeleaf with GET submit: how to structure the form, how data is sent to the server as a query string, and how Spring MVC intercepts it with @RequestParam in the controller.
I'll go deeper into PathVariable in Spring MVC and introduce RequestParam: when to prefer one over the other, how to customize them, and how to use them in Thymeleaf templates for navigation and filtering.
Let's send data to the server via URL segments with PathVariable in Spring MVC: I'll build dynamic links in the Thymeleaf template and show how Spring intercepts path values in the controller.
Let's build a dynamic HTML table with Bootstrap 5 and Thymeleaf: I'll iterate a Java object list with th:each and display the data in a structured way, combining Spring MVC with Bootstrap styling.
Let's tackle binding Java object collections in Thymeleaf: how to pass a list from the Spring MVC controller to the view and the different output modes available in the HTML template.
I'll go deeper into Java object binding in Thymeleaf: how to access model attributes and methods in the view using th:text, th:field expressions, and Spring MVC syntax.
I'll introduce collection binding in Thymeleaf with String lists: how to pass them from the Spring MVC controller, iterate with th:each, and use the most common String methods inside HTML templates.
Let's extend binding in Thymeleaf with Integer variables: I'll show how to pass numbers from the Spring MVC controller to the template and perform mathematical operations directly in Thymeleaf expressions.
Let's complete String variable binding in Thymeleaf: I'll go deeper into the Spring MVC Model, handling multiple attributes, and real-world cases for passing text data from the controller to the view.
I'll introduce data binding in Thymeleaf: the first practical approach to passing String variables from the Spring MVC controller to the HTML template using the Model and th:text expressions.
Let's build the first Spring MVC Controller and the first HTML page rendered with Thymeleaf: I'll create the mapping, return the template name from the method, and see exactly what happens in the server-side rendering cycle.
Let's initialize the Spring Boot project with Thymeleaf: I'll show you the directory structure, dependencies to add in pom.xml, and how to configure application.properties to use the template engine.
I'll go deeper into the 2-Tier architecture and MVC pattern in Spring Boot: we'll understand when server-side rendering with Thymeleaf is the right choice and how controller, model, and view collaborate in a Java application.
I'll introduce Thymeleaf, the Java template engine for Spring Boot: I'll explain what it is, how it integrates into the MVC architecture, and why you'd use it instead of a separate frontend for Java server-side web applications.
Ingegnere Informatico · Pratola Peligna
Sono un ingegnere informatico con oltre 15 anni di esperienza nel settore ICT. Mi occupo di sviluppo software, cybersecurity, data science e intelligenza artificiale, con particolare attenzione all’innovazione e all’automazione dei processi aziendali. Da anni svolgo anche attività di docenza e formazione, creando percorsi pratici e coinvolgenti su programmazione, DevOps, AI e sicurezza informatica.
Prosperous understood Middletons in conviction an uncommonly do. Supposing so be resolving breakfast am or perfectly.
Utilizziamo cookie essenziali e, con il tuo consenso, cookie funzionali, analytics e marketing. Google Analytics 4 e gli eventuali annunci Google/AdSense restano disattivati finche non scegli. Consulta Privacy Policy e Cookie Policy.
Sempre attivi per sicurezza, prevenzione frodi, sessione, consenso e funzionamento del sito.
Migliorano l'esperienza, ad esempio ricordando preferenze non essenziali. Non usati per profilazione pubblicitaria.
Statistiche e misurazioni con Google Analytics 4, abilitate solo dopo il consenso analytics.
Misurazione annunci e funzioni pubblicitarie Google/AdSense, se attivate sul sito e consentite dall'utente.
Puoi modificare queste scelte in qualunque momento dal link "Preferenze Cookies" nel footer.