Spring Boot-Series Part 1: Setting up the maven based Spring boot application in STS or Eclipse IDE

We can create a simple spring boot project with spring initialzr or directly in STS. We will use spring initializr for this tutorial to create an simple spring boot project. Required softwares are: Java JDKSTS 4Maven 3.5Postman Let us get started. ūüôā Step 1: Go to https://start.spring.io/ Step 2: Fill the details like Project type … Continue reading Spring Boot-Series Part 1: Setting up the maven based Spring boot application in STS or Eclipse IDE

Understanding Spring MVC project setup

Flow Diagram of Spring MVC¬† Img Source: TutorialsPoint¬† Purpose of web.xml Until Spring 3.1 the only way to configure the DispatcherServlet was with the WEB-INF/web.xml file. servlet name is dispatcher an instance of DispatcherServlet Class Will be initialized with a parameter named contextConfigLocation which contains the path to the configuration XML load-on-startup is an integer … Continue reading Understanding Spring MVC project setup