Mastering Thymeleaf with Spring Boot (Udemy.com)
Become an expert using Thymeleaf Templates with Spring Boot
Created by: John Thompson
Last updated August 2026
What you will learn
- Learn how to convert a HTML5 document to a Thymeleaf template
- Use Bootstrap CSS to build a basic web page
- Configure Spring MVC with Spring Boot to display Thymeleaf templates
- Externalize text values to properties files
- Use Spring Message bundles for internationalized text values
- Display POJO properties via a Thymeleaf template
- Iterate over lists to display tabular content
- Use Thymeleaf fragments for comment HTML components
- Display Spring validation messages using Thymeleaf
- Use the Thymeleaf Spring Security extension to show, or not show, content to users
How it compares
Against the other 101 rated Udemy courses in Java Spring Framework on CourseDuck:
- Rating4.0 out of 5higher than 2% of them
- Reviews1,154#59 of 102 by number of reviews
- Length4.8 hoursshorter than 82% of them
- Last updatedAugust 2026more recently than 75% of them
Course Description
Thymeleaf is a highly popular templating engine to use with Spring MVC to produce rich, and dynamic web pages.
Unlike other options available for Java and Spring Boot, Thymeleaf has a natural templating language - meaning you can view the templates right in your favorite browser. This really helps accelerate your development process.
Try doing that with JSP!
In this course you are guided step by step in building an ecommerce like web application using Thymeleaf, Spring MVC, and Spring Boot.
The focus of the course is on building web content with Thymeleaf. You start off the course building web pages using Bootstrap CSS. These are simple web pages you can view right in your browser. (No Spring Boot or Spring MVC - yet!) This is to give you a good overview of Bootstrap CSS, one of the most popular CSS frameworks in use today!
Next, you build the HTML for a product catalog website. Just the HTML to show a product listing and product detail pages.
Then we take your HTML pages and convert them into Thymeleaf templates. We add the templates into a Spring Boot application. Spring Boot will auto-configure Spring MVC to render the Thymeleaf templates under Tomcat.
You get to see how we transition the HTML documents from simple HTML, into Thymeleaf Templates for the Spring Boot application.
Using Spring MVC, you are able to start introducing dynamic content into the Thymeleaf templates.
From here you get to explore using Thymeleaf with Spring Boot.
You get hands on examples of:
Externalizing Text properties
Using Spring MVC Internationalization with Thymeleaf
Using Thymeleaf Fragments for common page components.
Leveraging Spring Boot Developer tools to speed up your development
Rendering POJOs returned from Spring MVC under Thymeleaf
Looping over lists in Thymeleaf
Using Thymeleaf fragments with lists
Thymeleaf expression syntax
Spring MVC validation with Thymeleaf
Using Spring Security with Thymeleaf
How to show different content to logged in users vs anonymous users
While the course does use the Spring Framework, Spring Boot, Spring MVC, and Spring Security - these are not the primary topics of the course.
If you are a Spring Framework developer, used to JSPs (Java Server Pages) and wishing to get up to speed on Thymeleaf this is a perfect course for you! You'll never want to use JSPs again!
Even if you are not a Spring Framework developer, you will still get a lot out of this course! Thymeleaf is a powerful templating technology for Java and Spring. With Spring Boot it becomes very easy to develop rich dynamic content!
Instructor Details
- 4.0 Rating
1,154 Reviews
John Thompson
Hi. I'm John.
I've been in the IT industry for over 25 years. Today, I specialize mainly in Java, the most successful and widely known programming language in use today. I also specialize with the Spring Framework, which the most popular open source application framework for building enterprise class applications on the Java platform. Just some of the organizations I've worked with include Visa, Kohls, Federal Home Loan Bank, and Belk Department Stores.
Through the courses I'm providing, I hope to leverage my years of experience to accelerate your learning of the Spring Framework. I'm not going to lie to you. The Spring Framework is a big framework. The environment for enterprise Java is even bigger. If you're new to Java, you have a lot to learn. I hope through the content on this web site I can accelerate your education of the Java and Spring landscape.
More courses by John Thompson
Spring Boot Microservices with Spring Cloud Beginner to Guru (2026)
4.6 (5,706 Reviews)
Provider: Udemy
Time: 42.5h
$18.99
More Java Spring Framework courses
Spring Boot Unit Testing with JUnit, Mockito and MockMvc (2026)
4.8 (4,042 Reviews)
Provider: Udemy
Time: 9.9h
$84.99
Spring WebFlux Masterclass: High-Performance Reactive APIs (2026)
4.8 (1,920 Reviews)
Provider: Udemy
Time: 13.3h
$84.99
Spring Security Zero to Master along with JWT,OAUTH2 (2026)
4.7 (11,228 Reviews)
Provider: Udemy
Time: 24.6h
$12.99
Kafka MicroServices with Spring Boot, Docker, Kubernetes, AI (2026)
4.7 (6,864 Reviews)
Provider: Udemy
Time: 27.2h
$11.99
Domain Driven Design & Microservices for Architects (2023)
4.7 (3,982 Reviews)
Provider: Udemy
Time: 12.7h
$10.99
Microservices with Spring Boot, Spring Cloud, Docker & Kafka (2026)
4.7 (3,777 Reviews)
Provider: Udemy
Time: 42.1h
$94.99
Reviews
By Anonymized User on 8/19/2024
The course is good, but it needs to be improved in terms of joining the way from starting with thymeleaf to the full course. for example to work with database, either of MySql or with H2 . If you give the sample of code to retrieve the records and then connect it with your course, then it's easy to do the practical simultaneously and gain the knowledge. to understand any new concept, the sample of course code is required, so that it can be learned with practical.
By Tomasz Wołoszyn on 9/10/2023
I had a very mixed feeling about this course at the beginning. At first, it was really hard to follow and understand. Maybe it was like that because I'm not a native English speaker. Also, the system where we didn't build the project along the lessons, but just downloaded it from GitHub was weird to me. But somewhere in the middle of the course, I realized that it was actually, not that bad, and the content, in fact, was presented in a really accessible way. So in the end I can recommend this course.
By Lex Kessler on 5/13/2021
This is a pretty good course that got me on my feet and running in no time. Thymeleaf documentation has a section on Spring, but not Spring Boot, and it's not super easy to quickly set everything up and get started, figure out where all the templates go and what the stucture of 'resources' should look like. This course helped me set everything up, let me start playing with it and showcased the main Thymeleaf features and how it integrates with Spring Boot. From that point, further study is necessary to master the topic, which is fair, but the course itself covers quite a lot. Additional debugging and updating to the latest Thymeleaf and Spring Boot versions is necessary in places, but I did not find it annoying or hard to do. I found myself wishing for the coding assignments to be in a printed form; instead the instructor just says what needs to be done while we're looking at him speaking, without making it possible to also read the instructions. I felt that just including those instructions in the corresponding sections together with links to the code would go a long way. I found it repetitive and unnecessary that the instructor reiterated what they just did in front of you after coding something new, since I just saw what was done and remember it quite well, I felt it took a long time and was unnecessarily detailed, and I was anxious to just skip it in case something else important was added. I also found myself wishing for the music intro at the start and end of each video to go away, as it took a considerable part of videos that are a few minutes long. Thankfully the instructor removed the majority of the intro at the start in later videos, and although he left the end section, it made it a considerably better experience for me overall. All in all, it's a pretty good course that delivers on what it promises, I'd recommend it to anyone who needs to get their feet wet quickly with Spring Boot and Thymeleaf.
By Jim Tough on 7/28/2020
The videos for this course were originally shot in 2016 and haven't been updated. I purchased this course in part because it said "Last updated 11/2019" in the synopsis. That appears to be false. If you want to follow along with the instructor's code samples from Git, you'll be stuck on Spring Boot 1.x and Bootstrap 3.x. The Git repo that is referenced in the lectures for obtaining the source code to start each section has not been updated since 2016 either. Some URLs to images in the 'starting point' code examples are no longer valid. For example, the course images on 'index.html' have invalid 'src' links in the img tags and will display nothing. It would help a lot if the instructor or his teaching assistant were to do a code update in the repo branches to fix things that no longer work correctly in 2020. I'm not talking about a rewrite of the course. I would just like to see obviously broken code/pages fixed so students can still follow along with the videos in 2020. The course gets much better around Section 5. The stale content is less of an issue because the course starts to focus on specific features of Spring Boot and Thymeleaf, and one can search for the most up-to-date documentation for each feature if things have changed in 2020. This would have been a 5-star course in 2016/2017. It just got stale and hasn't been maintained.
By Loris Croci on 5/15/2019
This course is quite good, if you are a beginner looking for some starting point about Thymeleaf and spring. It is, obviously, outdated. So, something is not going to work (in the examples) and sometimes you'll have to try to fix it on your own.. I have a problem with the last lectures, specially with the th:each that renders the index page. But there are problems with the style.css so I decided to not write the examples anymore due to the problem itself
By Fernando Pablo on 3/14/2018
It is a very complete course. John explains in a concise way enough points to use the Thymeleaf template engine, in addition to real use cases, which allows you to instantly apply the examples in your day to day and do not fall into oblivion. It is true that some points require knowledge of other areas, such as Spring Security or Bootstrap, but this is explained explicitly by the instructor. It is an essential course
By Ricardo Silva on 6/15/2017
Very nice course introduction Thymeleaf. The topics showed in the course are great. The instructor explain the topics in a simple way. The videos show a real world examples. I like see the errors happen in live, this can help to understand when I see it. Maybe some people do not like it. The first 3 modules it is a litle introduction to start a project, Bootstrap CSS, Spring MVC. The fun start in the 4th module. The music ending of each video is a litle anoying for people like me that use headphones.
By Murray Williams on 5/25/2017
This course did a great job on jumpstarting me on using Thymeleaf. The material is presented well, isn't too longwinded, and puts the learner in a good position to use the templating engine. I also appreciate that some non-focus areas were covered, inclusion of the bootstrap JS framework and Spring / Thymeleaf security integration are greatly appreciated. I also appreciate that later in the course the intro is reduced to a quiet animated graphic vs. the full multi-media experience that the outro contains - when watching many videos in a row having the outro feed right into the intro of the next lesson with both having full fanfare is very distracting. It would be good if this was likewise fixed in the earlier lessons as well. Thank you for a great class! I'll be looking into your other Spring classes!
By Matt Moran on 5/2/2017
It's pretty good, but I find the music and animation jingle at the start and end of each module jarring. I like to put my own music on in the background when I do Udemy courses and watch a bunch of modules back to back. If you watch the modules like this you get 2 jingles exactly the same back to back. Some of the modules are only a few minutes long so it's possible for it to be triggered many times in the space of an hour, which can be pretty off-putting. Otherwise 5/5.
By Gracjan Nawrot on 2/23/2016
This course is quite extensive and John does explain the thymeleaf templating engine integration with Spring framework really well. However, I find him a little too repetitive on what he will cover and what he covered during each class (it is a waste of time). Each recap takes around 90s in a almost any lecture which are usually 4-6 minutes long. Another time wasters are typos that could be easily avoided and would make this course shorter. Basically, great class that needs some editing to achieve refined, polished look. This gives me an impression that this course was rushed in. John is a really knowledgeable instructor but the course could be shorter (or more extensive in the same time). If you want to see what I mean please check courses offered by Anthony Alicea (no time waster there whatsoever). Should John add some sections to this course I will gladly take a look at them.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 80 / 100












