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

質問編集履歴

1

書式の改善

2020/05/18 08:39

投稿

poporian_a
poporian_a

スコア8

title CHANGED
File without changes
body CHANGED
@@ -13,11 +13,12 @@
13
13
 
14
14
  ### 該当のソースコード
15
15
 
16
+ ```ここに言語を入力
16
- //Get parameters(パラメーター取得)
17
+ //Get parameters(パラメーター取得)
17
18
    request.setCharacterEncoding("UTF-8");
18
- String[] itemId=request.getParameterValues("itemId");商品ID
19
+ String[] itemId=request.getParameterValues("itemId");//商品ID
19
- String[] numbr = request.getParameterValues("numbr");注文個数
20
+ String[] numbr = request.getParameterValues("numbr");//注文個数
20
- String[] stock = request.getParameterValues("stock");在庫
21
+ String[] stock = request.getParameterValues("stock");//在庫
21
22
  String userId = (String) request.getSession(false).getAttribute("userId");⇒ユーザーID
22
23
 
23
24
 
@@ -55,6 +56,7 @@
55
56
  i++;
56
57
 
57
58
  }
59
+ ```
58
60
 
59
61
 
60
62
  ### 試したこと