質問編集履歴
3
XMLを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -40,4 +40,40 @@
|
|
40
40
|
<title>図書館システム</title>
|
41
41
|
</head>
|
42
42
|
```
|
43
|
-

|
43
|
+

|
44
|
+
```xml
|
45
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
46
|
+
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
47
|
+
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
48
|
+
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
|
49
|
+
version="3.1">
|
50
|
+
<display-name>library</display-name>
|
51
|
+
<welcome-file-list>
|
52
|
+
<welcome-file>/jsp/index.jsp</welcome-file>
|
53
|
+
</welcome-file-list>
|
54
|
+
<error-page>
|
55
|
+
<error-code>404</error-code>
|
56
|
+
<location>/jsp/error_page.jsp</location>
|
57
|
+
</error-page>
|
58
|
+
<error-page>
|
59
|
+
<error-code>502</error-code>
|
60
|
+
<location>/jsp/error_page.jsp</location>
|
61
|
+
</error-page>
|
62
|
+
<error-page>
|
63
|
+
<error-code>403</error-code>
|
64
|
+
<location>/jsp/error_page.jsp</location>
|
65
|
+
</error-page>
|
66
|
+
<error-page>
|
67
|
+
<exception-type>java.lang.RuntimeException</exception-type>
|
68
|
+
<location>/jsp/error_page.jsp</location>
|
69
|
+
</error-page>
|
70
|
+
<error-page>
|
71
|
+
<exception-type>javax.servlet.ServletException</exception-type>
|
72
|
+
<location>/jsp/error_page.jsp</location>
|
73
|
+
</error-page>
|
74
|
+
<mime-mapping>
|
75
|
+
<extension>css</extension>
|
76
|
+
<mime-type>text/css</mime-type>
|
77
|
+
</mime-mapping>
|
78
|
+
</web-app>
|
79
|
+
```
|
2
画面追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -39,4 +39,5 @@
|
|
39
39
|
<link type="text/css" rel="stylesheet" href="<%= request.getContextPath() %>/css/cover.css">
|
40
40
|
<title>図書館システム</title>
|
41
41
|
</head>
|
42
|
-
```
|
42
|
+
```
|
43
|
+

|
1
typeが正常に認識されていないということは理解できるのですが、対象方がわかりませんでした><画像の件、失礼いたしました。マークダウンに変更しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -22,4 +22,21 @@
|
|
22
22
|
| |- index.jsp
|
23
23
|
|-css
|
24
24
|
|- cssファイル等(bootstrap)
|
25
|
+
```jsp
|
26
|
+
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
27
|
+
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
28
|
+
<!DOCTYPE html>
|
29
|
+
<html lang="ja">
|
30
|
+
<head>
|
25
|
-
|
31
|
+
<meta charset="utf-8">
|
32
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" http-equiv="Content-Type">
|
33
|
+
<!-- Bootstrap CSS-->
|
34
|
+
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/bootstrap.min.css">
|
35
|
+
<!-- jQuery -->
|
36
|
+
<script src="<%= request.getContextPath() %>/js/jquery.min.js"></script>
|
37
|
+
<!-- Bootstrap JavaScript-->
|
38
|
+
<script src="<%= request.getContextPath() %>/js/bootstrap.min.js"></script>
|
39
|
+
<link type="text/css" rel="stylesheet" href="<%= request.getContextPath() %>/css/cover.css">
|
40
|
+
<title>図書館システム</title>
|
41
|
+
</head>
|
42
|
+
```
|