1 package de.juplo.demo.httpresources;
3 import org.springframework.stereotype.Controller;
4 import org.springframework.ui.Model;
5 import org.springframework.web.bind.annotation.RequestMapping;
6 import org.springframework.web.bind.annotation.RequestParam;
10 public class DemoController
12 @RequestMapping("/controller.html")
13 public String controller(
14 @RequestParam(defaultValue = "index") String template,
17 model.addAttribute("template", template);