diff --git a/src/main/java/com/example/demo/controller/BookInsertConfirmController.java b/src/main/java/com/example/demo/controller/BookInsertConfirmController.java new file mode 100644 index 0000000..d3e6cc1 --- /dev/null +++ b/src/main/java/com/example/demo/controller/BookInsertConfirmController.java @@ -0,0 +1,14 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class BookInsertConfirmController { + @GetMapping("/bookInsertConfirm") + public String bookInsertConfirm() { + return "bookInsertConfirm"; + + } + +} diff --git a/src/main/java/com/example/demo/controller/BookInsertController.java b/src/main/java/com/example/demo/controller/BookInsertController.java new file mode 100644 index 0000000..d066d30 --- /dev/null +++ b/src/main/java/com/example/demo/controller/BookInsertController.java @@ -0,0 +1,13 @@ +package com.example.demo.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.GetMapping; + +@Controller +public class BookInsertController { + @GetMapping("bookInsert") + public String bookInsert() { + return "bookInsert"; + + } +} diff --git a/src/main/resources/templates/bookInsert.html b/src/main/resources/templates/bookInsert.html new file mode 100644 index 0000000..41ae8a2 --- /dev/null +++ b/src/main/resources/templates/bookInsert.html @@ -0,0 +1,15 @@ + + + + + + 新規図書登録 + + + +

新規図書登録入力

+
+ + + + \ No newline at end of file diff --git a/src/main/resources/templates/bookInsertConfirm.html b/src/main/resources/templates/bookInsertConfirm.html new file mode 100644 index 0000000..1fe86a5 --- /dev/null +++ b/src/main/resources/templates/bookInsertConfirm.html @@ -0,0 +1,13 @@ + + + + + + 登録内容確認 + + + +

登録内容確認

+ + + \ No newline at end of file