質問編集履歴
1
コード修正を反映
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,14 +14,14 @@
|
|
14
14
|
関連しているページも全て載せさせていただきます。
|
15
15
|
|
16
16
|
```jspファイル
|
17
|
-
<%@ page contentType="text/html;
|
17
|
+
<%@ page contentType="text/html; pageEncoding="UTF-8"%>
|
18
18
|
<%@ page import="java.util.List, DataBase.DataBase" %>
|
19
19
|
|
20
20
|
|
21
21
|
<!DOCTYPE html>
|
22
22
|
<html>
|
23
23
|
<head>
|
24
|
-
<meta
|
24
|
+
<meta charset="UTF-8">
|
25
25
|
<title>既存アンケートの表示</title>
|
26
26
|
<link rel="stylesheet" href="CSS/DB_Connect.css">
|
27
27
|
</head>
|
@@ -54,9 +54,8 @@
|
|
54
54
|
|
55
55
|
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
|
56
56
|
|
57
|
-
|
57
|
+
request.setCharacterEncoding("utf-8");
|
58
58
|
|
59
|
-
PrintWriter out = response.getWriter();
|
60
59
|
String sql ="SELECT * FROM Anke";
|
61
60
|
|
62
61
|
Connection con = null;
|