質問するログイン新規登録

質問編集履歴

2

実装したソースコードの追加

2015/10/28 09:44

投稿

rice
rice

スコア70

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

クラス名変更

2015/10/28 09:44

投稿

rice
rice

スコア70

title CHANGED
File without changes
body CHANGED
@@ -36,7 +36,7 @@
36
36
  [サーブレット]
37
37
  ```Java
38
38
 
39
- public class ArrivalMegaphoneServlet extends HttpServlet {
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);