質問編集履歴

3

XMLを追加

2020/09/24 00:34

投稿

konkon.gitsune
konkon.gitsune

スコア16

test CHANGED
File without changes
test CHANGED
@@ -83,3 +83,75 @@
83
83
  ```
84
84
 
85
85
  ![イメージ説明](58ae33c849a26d6b6b263a78ede907d4.png)
86
+
87
+ ```xml
88
+
89
+ <?xml version="1.0" encoding="UTF-8"?>
90
+
91
+ <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
92
+
93
+ xmlns="http://xmlns.jcp.org/xml/ns/javaee"
94
+
95
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
96
+
97
+ version="3.1">
98
+
99
+ <display-name>library</display-name>
100
+
101
+ <welcome-file-list>
102
+
103
+ <welcome-file>/jsp/index.jsp</welcome-file>
104
+
105
+ </welcome-file-list>
106
+
107
+ <error-page>
108
+
109
+ <error-code>404</error-code>
110
+
111
+ <location>/jsp/error_page.jsp</location>
112
+
113
+ </error-page>
114
+
115
+ <error-page>
116
+
117
+ <error-code>502</error-code>
118
+
119
+ <location>/jsp/error_page.jsp</location>
120
+
121
+ </error-page>
122
+
123
+ <error-page>
124
+
125
+ <error-code>403</error-code>
126
+
127
+ <location>/jsp/error_page.jsp</location>
128
+
129
+ </error-page>
130
+
131
+ <error-page>
132
+
133
+ <exception-type>java.lang.RuntimeException</exception-type>
134
+
135
+ <location>/jsp/error_page.jsp</location>
136
+
137
+ </error-page>
138
+
139
+ <error-page>
140
+
141
+ <exception-type>javax.servlet.ServletException</exception-type>
142
+
143
+ <location>/jsp/error_page.jsp</location>
144
+
145
+ </error-page>
146
+
147
+ <mime-mapping>
148
+
149
+ <extension>css</extension>
150
+
151
+ <mime-type>text/css</mime-type>
152
+
153
+ </mime-mapping>
154
+
155
+ </web-app>
156
+
157
+ ```

2

画面追加

2020/09/24 00:34

投稿

konkon.gitsune
konkon.gitsune

スコア16

test CHANGED
File without changes
test CHANGED
@@ -81,3 +81,5 @@
81
81
  </head>
82
82
 
83
83
  ```
84
+
85
+ ![イメージ説明](58ae33c849a26d6b6b263a78ede907d4.png)

1

typeが正常に認識されていないということは理解できるのですが、対象方がわかりませんでした><画像の件、失礼いたしました。マークダウンに変更しました。

2020/09/23 09:22

投稿

konkon.gitsune
konkon.gitsune

スコア16

test CHANGED
File without changes
test CHANGED
@@ -46,4 +46,38 @@
46
46
 
47
47
  |- cssファイル等(bootstrap)
48
48
 
49
+ ```jsp
50
+
51
+ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
52
+
53
+ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
54
+
55
+ <!DOCTYPE html>
56
+
57
+ <html lang="ja">
58
+
59
+ <head>
60
+
49
- ![イメージ説明](791a8d9ede4869ca48bce76eac7a44c8.png)
61
+ <meta charset="utf-8">
62
+
63
+ <meta name="viewport" content="width=device-width, initial-scale=1" http-equiv="Content-Type">
64
+
65
+ <!-- Bootstrap CSS-->
66
+
67
+ <link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/bootstrap.min.css">
68
+
69
+ <!-- jQuery -->
70
+
71
+ <script src="<%= request.getContextPath() %>/js/jquery.min.js"></script>
72
+
73
+ <!-- Bootstrap JavaScript-->
74
+
75
+ <script src="<%= request.getContextPath() %>/js/bootstrap.min.js"></script>
76
+
77
+ <link type="text/css" rel="stylesheet" href="<%= request.getContextPath() %>/css/cover.css">
78
+
79
+ <title>図書館システム</title>
80
+
81
+ </head>
82
+
83
+ ```