Learn spring boot logging configuration via application.properties file in simple and easy to follow instructions. In the default structure of a Spring Boot web application, we can locate the application.properties file under the resources folder. Table of Contents 1. Spring boot default logging 2. Spring boot logging levels 3. Spring boot logging patterns 4. Log […]
By default, Spring boot uses embedded tomcat server to run the application. At times, you may need to use jetty server in place of tomcat server. Spring Boot provides Tomcat and Jetty dependencies bundled together as separate starters to help make this process as easy as possible. You can use jetty with following simple steps. […]
By default, Spring boot applications start with embedded tomcat server start at port 8080. We can change default embedded server port to any other port, using any one of below technique.
By default, Spring boot applications are accessed by context path “/” which is default for embedded servers i.e. you can access the application directly at http://localhost:PORT/. But in production, you will deploy the application under some context root – so that you can refer the URLs for other places. Also, it is desirable to configure […]
Spring Boot JSP View Resolver Example. Learn to configure Spring boot application use JSPTemplate to map JSP files using InternalResourceViewResolver.