質問編集履歴

1

追加

2016/05/15 07:30

投稿

spring
spring

スコア48

test CHANGED
File without changes
test CHANGED
@@ -64,6 +64,44 @@
64
64
 
65
65
 
66
66
 
67
+ ○HeloControllerを修正
68
+
69
+ ```
70
+
71
+ package jp.tuyano.spring.boot.myapp1;
72
+
73
+
74
+
75
+ import org.springframework.stereotype.Controller;
76
+
77
+ import org.springframework.web.bind.annotation.RequestMapping;
78
+
79
+
80
+
81
+ @Controller
82
+
83
+ public class HeloController {
84
+
85
+
86
+
87
+ @RequestMapping("/")
88
+
89
+ public String index() {
90
+
91
+ return "index";
92
+
93
+ }
94
+
95
+
96
+
97
+ }
98
+
99
+
100
+
101
+ ```
102
+
103
+
104
+
67
105
  ○springBootApp実行
68
106
 
69
107