[add] 新規図書登録画面→登録確認画面作成

This commit is contained in:
s-tajihi
2026-09-18 12:45:03 +09:00
parent f66d709137
commit 2c230d5610
4 changed files with 55 additions and 0 deletions

View File

@@ -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";
}
}

View File

@@ -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";
}
}

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>新規図書登録</title>
</head>
<body>
<h1>新規図書登録入力</h1>
<form action="/bookInsertConfirm" method="GET">
<input type="submit" value="確認画面へ" class="btn">
</body>
</html>

View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登録内容確認</title>
</head>
<body>
<h1>登録内容確認</h1>
</body>
</html>