Spring Boot+Spring MVC+Hibernate



  • The project starts with no mistakes, everything is clear. But when I go to localhost:808080/get, the following goes out: окно браузера при запуске

    I don't know how to be and where to dig! Repository: https://github.com/butr1m/spring_boot.git OBD generation code at the root of the project



  • I'm not sure, but maybe we need to write a controller who will process the request with that reference, and then what will open the right...jsp with a name. In the example of "indexGet."

    @GetMapping("/get")
        public String get( Model model) {
             //некоторая логика
            model.addAttribute("title", "title");
            return "/indexGet";
        }
    


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2