Upgrade from JSP to Thymeleaf with SpringMVC and Spring Boot

Replace Java Server Pages with Thymeleaf – the modern, design friendly, template engine, to build better Spring web apps

If you are building web front-ends with Spring Boot or Spring MVC, and you’re still using JSP (Java Server Pages) then this course is for you. Thymeleaf is a great templating engine which replaces JSP, and you can easily use it in any Spring MVC or Spring Boot application. Unlike JSP it’s a pleasure to use. With Thymeleaf you work with regular HTML, which means that a lot of the frustration of JSP is taken away.

What you’ll learn

  • Be confident and competent in creating web front ends for Spring projects.
  • Able to integrate externally produced professional HTML designs into your Spring projects..
  • Able to build robust HTML pages that can be opened, viewed and edited by designers without any knowlege of Spring, Java, JSP etc..

Course Content

  • Chapter 1 – Introduction –> 4 lectures • 14min.
  • Chapter 2 – Getting Started –> 5 lectures • 19min.
  • Chapter 3 – Attributes –> 7 lectures • 32min.
  • Chapter 4 – Loops, Conditions and Links –> 6 lectures • 33min.
  • Chapter 5 – Building Pages –> 6 lectures • 27min.
  • Chapter 6 – Working with Forms –> 8 lectures • 46min.
  • Chapter 7 – Thymeleaf and Spring MVC –> 10 lectures • 50min.
  • Extra chapter – Page layouts –> 5 lectures • 18min.
  • Goodbye! –> 1 lecture • 1min.

Upgrade from JSP to Thymeleaf with SpringMVC and Spring Boot

Requirements

  • You will need some basic experience having created websites in either SpringMVC or Spring Boot to do this course. As long as you know how to build a simple controller, and to pass data to a view using a model, you’ll be able to follow along..
  • Some familiarity with HTML will be helpful, but you certainly don’t need to be an HTML expert. Knowing what the common tags such as DIV, SPAN, H1, P, TABLE , TR, TD etc do, and how to use them will be good enough.
  • Although this course teaches you how to upgrade from using JSP, you don’t need to have written any JSP code to do this course – you can follow along and learn the better way instead!.
  • No prior knowlege of Thymeleaf is needed. As long as you have basic familiarity with a modern Java IDE such as Eclipse or IntelliJ, then you’ll be able to work along with me. On this course I provide you with lots of sample code, and I also take you through setting up and configuring Thymeleaf..

If you are building web front-ends with Spring Boot or Spring MVC, and you’re still using JSP (Java Server Pages) then this course is for you. Thymeleaf is a great templating engine which replaces JSP, and you can easily use it in any Spring MVC or Spring Boot application. Unlike JSP it’s a pleasure to use. With Thymeleaf you work with regular HTML, which means that a lot of the frustration of JSP is taken away.

If you’ve been given a set of HTML and CSS templates to use for a project, Thymeleaf lets you integrate them with ease. Or if you’re building the functionality and handing off to a web-designer, they’ll be able to work with your code with no knowlege of Java or Spring.

In this course you’ll learn:

  • How Thymeleaf allows you to seamlessly work with Web Designers
  • How to integrate your code into standard HTML/XHTML without breaking the design
  • How to manage forms, validation and error handling
  • How to convert a legacy JSP project to Thymeleaf

By the end of this course you’ll be confidently able to build functional and effective front-ends for your Spring web applications.

As well as teaching programming, I’ve been building websites with Spring for a number of years, and I started using Thymeleaf about 3 years, ago. And I’d never go back! Amongst other things I find Thymeleaf sites much easier to support and maintain as application requirements change, and I think that’s why I’m so much of a fan of it!