Spring MVC

Spring Controller
@GetMapping("/blah")
@ResponseBody
public String getSomething() {
return "Hello";
}View and Templating
In resources/templates/books, add list.html
this reads model, and the objects and create the output
Last updated
Was this helpful?