package example.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("static_pages")
public class StaticPageController {

    @RequestMapping("/")
    public ModelAndView home() {
        return new ModelAndView("static_pages/home");
    }

    @RequestMapping("/help")
    public ModelAndView help() {
        return new ModelAndView("static_pages/help");
    }

    @RequestMapping("/about")
    public ModelAndView about() {
        return new ModelAndView("static_pages/about");
    }
}

@@ -333,16 +333,110 @@
 ng(%22/%22)%0A
+    public String root() %7B%0A        return %22forward:home%22;%0A    %7D%0A%0A    @RequestMapping(%22/home%22)%0A
     publ

add "static_pages/home" route