<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-thymeleaf</artifactId>
- </dependency>
<dependency>
<groupId>de.juplo</groupId>
<artifactId>http-resources</artifactId>
+++ /dev/null
-package de.juplo.demo.httpresources;
-
-import org.springframework.stereotype.Controller;
-import org.springframework.ui.Model;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestParam;
-
-
-@Controller
-public class DemoController
-{
- @RequestMapping("/controller.html")
- public String controller(
- @RequestParam(defaultValue = "index") String template,
- Model model)
- {
- model.addAttribute("template", template);
- return template;
- }
-}