Commit 6dd44203 by Patryk Czarnik

Przeniesienie szablonów JSP do WEB-INF/templates

parent e4ffa32a
...@@ -12,7 +12,7 @@ public class RootController { ...@@ -12,7 +12,7 @@ public class RootController {
@RequestMapping("/") @RequestMapping("/")
public String index() { public String index() {
return "index.jsp"; return "/WEB-INF/templates/index.jsp";
} }
@RequestMapping("/hello") @RequestMapping("/hello")
...@@ -25,7 +25,7 @@ public class RootController { ...@@ -25,7 +25,7 @@ public class RootController {
public String ktoraGodzina(Model model) { public String ktoraGodzina(Model model) {
LocalDateTime dt = LocalDateTime.now(); LocalDateTime dt = LocalDateTime.now();
model.addAttribute("dt", dt); 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