Validation in Thymeleaf + Spring

Overview Important topics we will be discussing are dealing with null values, empty strings, and validation of input so we do not enter invalid data into our database. In dealing with null values, we touch on use of java.util.Optional which was introduced in Java 1.8. 0 – Spring Boot + Thymeleaf Example Form Validation Application […]

PagingAndSortingRepository – How to Use With Thymeleaf

For this tutorial, I will demonstrate how to display a list of a business’ clients in Thymeleaf with pagination. View and Download the code from Github 1 – Project Structure We have a normal Maven project structure. 2 – Project Dependencies Besides the normal Spring dependencies, we add Thymeleaf and hsqldb because we are using […]