Commit 6dd44203 by Patryk Czarnik

Przeniesienie szablonów JSP do WEB-INF/templates

parent e4ffa32a
......@@ -12,7 +12,7 @@ public class RootController {
@RequestMapping("/")
public String index() {
return "index.jsp";
return "/WEB-INF/templates/index.jsp";
}
@RequestMapping("/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