Spring boot response compress

Spring boot response compress example

Table of Contents1. Overviewapplication.properties2. Example:2.1 pom.xml2.1 application.properties2.2 CompressDemoController2.3 SpringBootConfig2.4 Output4. References 1. Overview Spring boot response compress or gzip can be enabled using  server.compression.enabled in application.properties file, It will be supported…

Spring boot custom error pages

Spring boot custom error pages

Table of Contents1. Overview2. Example2.1 pom.xml2.2 404.html2.3 500.html2.4 ErrorPageController2.5 SpringBootConfig2.6 Output:3. References4. Source Code 1. Overview During web application development, Resource playing important roles so many times those resources may…