Each controller method as we discussed earlier should return two pieces of information, the model and the view name. https://github.com/spring-guides/gs-serving-web-content.git, Attribution, NoDerivatives creative commons license. In the following example, GreetingController handles GET requests for /greeting by returning the name of a View (in this case, greeting). Provide a name query string parameter by visiting http://localhost:8080/greeting?name=User. View engine merges the view template with the data and produces plain old HTML and sends it back to DispatcherServlet. Open Spring Tool Suite IDE, select menu File > New > Spring Starter Project. On the New Spring Starter Project popup input new project information as below and click Next. On the New Spring Starter Project Dependencies popup choose dependencies as below and click Next. In this case, we've created an