使用freemarker模板引擎

This commit is contained in:
程序猿DD
2016-07-03 22:24:00 +08:00
parent 70570d5d1f
commit 7eab9c30bd
+1
View File
@@ -16,6 +16,7 @@ import org.springframework.web.bind.annotation.RestController;
public class HelloController { public class HelloController {
@RequestMapping("/hello") @RequestMapping("/hello")
@ResponseBody
public String hello() { public String hello() {
return "Hello World"; return "Hello World";
} }