質問編集履歴

1

コード修正を反映

2020/09/11 01:19

投稿

Y.Mamoru
Y.Mamoru

スコア47

test CHANGED
File without changes
test CHANGED
@@ -30,7 +30,7 @@
30
30
 
31
31
  ```jspファイル
32
32
 
33
- <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
33
+ <%@ page contentType="text/html; pageEncoding="UTF-8"%>
34
34
 
35
35
  <%@ page import="java.util.List, DataBase.DataBase" %>
36
36
 
@@ -44,7 +44,7 @@
44
44
 
45
45
  <head>
46
46
 
47
- <meta http-ecobtau^" charset="UTF-8">
47
+ <meta charset="UTF-8">
48
48
 
49
49
  <title>既存アンケートの表示</title>
50
50
 
@@ -110,11 +110,9 @@
110
110
 
111
111
 
112
112
 
113
- response.getWriter().append("Served at: ").append(request.getContextPath());
113
+ request.setCharacterEncoding("utf-8");
114
-
115
-
116
-
117
- PrintWriter out = response.getWriter();
114
+
115
+
118
116
 
119
117
  String sql ="SELECT * FROM Anke";
120
118