質問編集履歴
3
誤字の修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
forEach文を用いてJSPで表示させてい。しかし、一つしか表示されません。
|
1
|
+
forEach文を用いてJSPで表示させています。しかし、データが一つしか表示されません。
|
body
CHANGED
File without changes
|
2
文法の修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
|
1
|
+
forEach文を用いてJSPで表示させてい。しかし、一つしか表示されません。
|
body
CHANGED
@@ -32,7 +32,6 @@
|
|
32
32
|
}
|
33
33
|
else if(canAgeMin >= 18 && canAgeMax <= 49){
|
34
34
|
ses.setAttribute("pair_today", dao.selectPair18to50(myPairId, canAgeMax, canAgeMin, str[i], canTreat));
|
35
|
-
System.out.println(dao.selectPair18to50(myPairId, canAgeMax, canAgeMin, str[i], canTreat));
|
36
35
|
}
|
37
36
|
}
|
38
37
|
```
|
1
文法の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
int canAgeMax = candidate.getCan_age_max();
|
26
26
|
int canAgeMin = candidate.getCan_age_min();
|
27
27
|
int canTreat = candidate.getCan_treat();
|
28
|
-
String[] str =
|
28
|
+
String[] str = candidateArea.split("," , 0);
|
29
29
|
for(int i = 0; i < str.length; i++){
|
30
30
|
if(canAgeMax == 50){
|
31
31
|
ses.setAttribute("pair_today", dao.select50pair(myPairId, str[i], canTreat, canAgeMin));
|