Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Upgrade from JSP to Thymeleaf with SpringMVC and Spring Boot
Rating: 4.5 out of 5(358 ratings)
2,195 students

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
Last updated 10/2019
English

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

9 sections52 lectures3h 57m total length
  • What is Thymeleaf?3:56
  • Why might you want to use Thymeleaf?2:15
  • Installing Thymeleaf6:03
  • Getting support while you're learning1:51

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.

Description

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!

Who this course is for:

  • Java web developers who want to upgrade their JSP skills
  • Anyone building websites with Spring Boot or Spring MVC
  • Anyone needing to create a web-front end for existing Spring projects