Udemy

Mastering Thymeleaf with Spring Boot

Enroll Now
  • 17,765 Students
  • Updated 11/2025
4.0
(1,154 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
4 Hour(s) 49 Minute(s)
Language
English
Rating
4.0
(1,154 Ratings)

Course Overview

Mastering Thymeleaf with Spring Boot

Become an expert using Thymeleaf Templates with Spring Boot

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!

Course Content

  • 12 section(s)
  • 66 lecture(s)
  • Section 1 Getting Started with Thymeleaf and Spring Boot
  • Section 2 Bootstrap CSS
  • Section 3 Building the Example Product Catalog Website
  • Section 4 Rendering Thymeleaf Templates with Spring Boot and Spring MVC
  • Section 5 Externalizing Text in Thymeleaf with Spring MVC
  • Section 6 Using Thymeleaf Fragements
  • Section 7 Displaying Objects Using Thymeleaf with Spring MVC
  • Section 8 Listing Objects Using Thymeleaf
  • Section 9 Spring MVC Validation Messages
  • Section 10 Using Spring Security with Thymeleaf
  • Section 11 Appendix A - Using GitHub
  • Section 12 Course Conclusion

What You’ll 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

Reviews

  • T
    Timothy Hearley
    4.5

    Good course, content 10 years old. Would like to know new thymeleaf features and SpringSecConfig ( Lesson 57) updated from java 8

  • N
    Nagaraj Harakuni
    2.0

    The course headline says that you can become an expert after this course, but this course is just covers the basics.

  • J
    Johannes Förstner
    2.0

    Code example not working after checkout, bootstrap cdn link broken...

  • J
    James M. Rourke
    5.0

    John is a great instructor another good class so far!

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed