質問編集履歴
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
}
|
36
36
|
|
37
37
|
@PostMapping
|
38
|
-
String postRegiste(@RequestParam(name = "
|
38
|
+
String postRegiste(@RequestParam(name = "question", required = false) String q) {
|
39
39
|
System.out.println(q);
|
40
40
|
if (q != null) {
|
41
41
|
int id = Integer.parseInt(q);
|
@@ -88,7 +88,7 @@
|
|
88
88
|
</a>
|
89
89
|
<form th:action="@{/delete}" method="post">
|
90
90
|
<input type="submit" value="削除" >
|
91
|
-
<input type="button" name="
|
91
|
+
<input type="button" name="question" th:value="${question.id}" readonly>
|
92
92
|
</form>
|
93
93
|
</div>
|
94
94
|
</div>
|