Spring Boot Tutorials & Protips

How to access data in Thymeleaf templates

Learn how to access Spring model attributes, request parameters, session attributes, and Spring beans in Thymeleaf templates.

Spring BootThymeleaf

Spring Boot Optional Path Variables

A short guide to learn how to use optional path variables in a Spring Boot web controller.

Spring Boot

Displaying a Custom Error Page in Spring Boot

A quick guide to learn how to display a custom error page in a Spring Boot web application.

Spring BootThymeleaf

How to change or disable the default banner in Spring Boot

A quick guide to learn how to customize the default banner or disable it completely in Spring Boot.

Spring Boot

How to change the default port in Spring Boot

A quick article to learn how to change the default port for a Spring Boot application.

Spring Boot

Spring Boot and Thymeleaf File Upload Example

A step-by-step article to learn how to upload a file in Spring Boot and Thymeleaf web application.

Spring BootThymeleaf

Working with Thymeleaf Layout Dialect in Spring Boot

A detailed article to learn how to use Thymeleaf Layout Dialect in a Spring Boot web application to build layouts and reusable templates.

Spring BootThymeleaf

HTML Form Handling in Thymeleaf and Spring Boot

A complete guide to learn how to use HTML forms in a Thymeleaf template and how to handle the form submission using Spring Boot.

Spring BootThymeleaf

How to use Thymeleaf with Spring Boot

A quick guide to learn how to use Thymeleaf template engine with a Spring Boot application to serve dynamic web content.

Spring BootThymeleaf

Introduction to Spring Boot Starters

A detailed article to learn what are Spring Boot starters and how to use them in a Spring Boot application.

Spring Boot

Uploading and Parsing CSV File using Spring Boot

A step-by-step guide to learn how to upload and parse a CSV file in Spring Boot and Thymeleaf.

CSVSpring BootThymeleaf

How to scaffold a Spring Boot application

A detailed article to learn how to quickly create a Spring Boot using Spring Initializr and Spring Boot CLI.

Spring Boot

RestTemplate POST Request with JSON and Headers

A short guide to learn how to make different kind of HTTP POST requests with request body parameters, custom request headers, basic HTTP authentication and more using RestTemplate.

Spring Boot

RestTemplate GET Request with Parameters and Headers

A short guide to learn how to make different kind of HTTP GET requests with query parameters, custom request headers, basic HTTP authentication and more using RestTemplate.

Spring Boot

Spring Boot RestTemplate Error Handling

Learn how to handle errors while making HTTP requests using the RestTemplate class in a Spring Boot application.

Spring Boot

Spring Data JPA Auditing using Spring Boot and MySQL

A complete guide to learn what is Spring Data JPA auditing feature and how to enable it in a Spring Boot and MySQL application.

MySQLSpring BootSpring Data JPA

Dynamic Queries with Spring Data JPA Specifications

A complete guide to learn what is Spring Data JPA Specifications and how to use it to generate dynamic database queries.

Spring BootSpring Data JPA

Spring Data JPA Composite Primary Key Mapping Example

A complete guide to map a composite primary key by using both @IdClass and @EmbeddedId annotations in Spring Data JPA.

Spring BootSpring Data JPA

Spring Data JPA Many To Many Relationship Mapping Example

A step-by-step guide on how to map and use a many-to-many relationship using Spring Data JPA and MySQL in a Spring Boot application.

MySQLSpring BootSpring Data JPA

Spring Data JPA One To Many Relationship Mapping Example

A step by step guide to create and use a one to many relationship mapping in a Spring Data JPA and MySQL application.

MySQLSpring BootSpring Data JPA

✨ Learn to build modern web applications using JavaScript and Spring Boot

I started this blog as a place to share everything I have learned in the last decade. I write about modern JavaScript, Node.js, Spring Boot, core Java, RESTful APIs, and all things web development.

The newsletter is sent every week and includes early access to clear, concise, and easy-to-follow tutorials, and other stuff I think you'd enjoy! No spam ever, unsubscribe at any time.