Merge branch 'a-kawaguchi' of https://gitea.it-college.co.jp/2026_09_5H_Spring_KIZAKI/ShareBooks_new into h-seya
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
package com.example.demo.controller;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
@Controller
|
||||
public class BookController {
|
||||
@GetMapping("/book")
|
||||
@PostMapping("/book")
|
||||
public String book() {
|
||||
return "book";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -9,16 +9,19 @@
|
||||
メインメニュー
|
||||
</h1>
|
||||
|
||||
|
||||
<!-- ===== 共通:社内図書一覧 ===== -->
|
||||
<a class="card" href="${pageContext.request.contextPath}/BookServlet">
|
||||
<form method="post" name="社内図書一覧" action="book">
|
||||
<a href="javascript:form1.submit()">リンク名</a>
|
||||
<button type="submit" class="btn-book">
|
||||
|
||||
<h3>社内図書一覧</h3>
|
||||
|
||||
<p>
|
||||
登録されている図書の<br> 一覧を表示します。
|
||||
</p>
|
||||
</a>
|
||||
|
||||
</button>
|
||||
</form>
|
||||
<hr> <!--区切り線-->
|
||||
|
||||
<!-- ===== 共通:寄贈申請 ===== -->
|
||||
|
||||
Reference in New Issue
Block a user