When working on IntelliJ, you have to recompile your source code every time files change. This post will show how to Spring Boot hot swap with Intellij IDE. 1. Adding devtools to your project Maven...
Tagged: spring-boot
Spring MVC Convert Object to MultiValueMap
When using Spring MVC you may have to convert an Object to a MultiValueMap<String,String>. For example when you want to perform a HTTP call with parameters. This tutorial will show how to Spring MVC Convert Object...
Angular Spring Security CSRF configuration
CSRF (also known as XSRF) is a well known web security attack allowing hackers to steel your identity and perform requests on website where your are already logged into. This tutorial shows how to Angular...
Angular file upload Spring Boot
This tutorial shows a step by step solution to Angular file upload Spring Boot backend and store it on file system. We will cover a file upload from a basic input and also from...
Angular download file with Spring Boot
This tutorial shows a step by step solution to Angular download file Spring Boot backend. We will cover the download of files located in system and others in classpath. Server side This section covers...
Spring Boot hello world tutorial
Spring Boot is one of the most powerful Java EE frameworks that aims to facilitate the development of new application. It brings all the power of the Spring stack (Spring dependency injection, Spring data...
Load multiple configuration files from different directories with Spring Boot
This tutorial will show how to load multiple configuration files from different directories with Spring Boot. By default, Spring Boot look for your externalized configuration file ( application.proroperties ) in four predetermined locations : in classpath...
Rename Spring Boot application.properties configuration file
By default, Spring Boot will look for your externalized properties in a file named application.properties located in one of the following folders : classpath root in the package /config in classpath in the current...
Spring Boot multiple databases configuration
By simple configuration, Spring boot provides a powerful way to work with a single database. Sometimes you need to work with multiple databases (for example, one for basic usage and another for archiving). In...