witajcie mam taki problem z css'em i thymeleaf'em w springu
kontener:
@RequestMapping("test/{id}")
public String show(@PathVariable Integer id, Model model){
model.addAttribute("user", userService.getUserById(id));
return "test";
}
po wpisaniu adresu: http://localhost:8080/test/1 funkcja działa ale nie działa mi bootstrap
a tak działa bez problemu (http://localhost:8080/test):
@RequestMapping("test")
public String show(Model model){
model.addAttribute("user", userService.getUserById(2));
return "test";
}
jak to naprawić, żeby zobaczył tą "głębszą" ścieżkę? pozdrawiam