4 Commits

3 changed files with 34 additions and 4 deletions

View File

@@ -27,14 +27,14 @@ public class ApprovalConfirmController {
private final static String SEVERE_ERROR_MESSAGE = "エラーが発生しました!";
HttpSession httpSession;
ApprovalForm approvalform;
Request request;
@Autowired
public ApprovalConfirmController(
HttpSession httpSession,
ApprovalForm approvalform) {
Request request) {
this.httpSession = httpSession;
this.approvalform = approvalform;
this.request = request;
}
@ModelAttribute
@@ -48,7 +48,7 @@ public class ApprovalConfirmController {
try {
return;
return a ;
} catch (Exception e) {
// ログイン情報の破棄
httpSession.invalidate();

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<!-- 外部のスクリプトファイルを読み込む -->
<script th:src="@{/js/common.js}"></script>
<!-- CSSの読み込み -->
<link rel="stylesheet" th:href="@{/css/all.css}">
<link rel=stylesheet th:href="@{/css/style.css}" type="text/css">
<title>書籍貸出承認確認</title>
</head>
<body>
</body>
</html>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<!-- 外部のスクリプトファイルを読み込む -->
<script th:src="@{/js/common.js}"></script>
<!-- CSSの読み込み -->
<link rel="stylesheet" th:href="@{/css/all.css}">
<link rel=stylesheet th:href="@{/css/style.css}" type="text/css">
<title>書籍貸出承認確認</title>
</head>
<body>
</body>
</html>