質問編集履歴
2
実装したソースコードの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -37,6 +37,10 @@
|
|
37
37
|
```Java
|
38
38
|
|
39
39
|
public class TestServlet extends HttpServlet {
|
40
|
+
private static final String CONTENT_TYPE = "ContentType";
|
41
|
+
|
42
|
+
private static final String CONTENT_TYPE_JSON = "application/json";
|
43
|
+
|
40
44
|
@Override
|
41
45
|
protected void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException {
|
42
46
|
doProcess(req, res);
|
1
クラス名変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
[サーブレット]
|
37
37
|
```Java
|
38
38
|
|
39
|
-
public class
|
39
|
+
public class TestServlet extends HttpServlet {
|
40
40
|
@Override
|
41
41
|
protected void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException {
|
42
42
|
doProcess(req, res);
|