Commit 26143816 by Patryk Czarnik

Przeniesienie plików JSP do WEB-INF/templates

parent 485bee9e
......@@ -12,7 +12,7 @@ public class RootController {
@GetMapping("/")
public String index() {
return "index.jsp";
return "/WEB-INF/templates/index.jsp";
}
@GetMapping("/hello")
......@@ -25,7 +25,7 @@ public class RootController {
public String ktoraGodzina(Model model) {
LocalDateTime dt = LocalDateTime.now();
model.addAttribute("dt", dt);
return "wyswietl_czas.jsp";
return "/WEB-INF/templates/wyswietl_czas.jsp";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment