Tip

[mybatis] 다중 체크박스를 controller에 매핑

마모루오빠 2021. 2. 23. 11:13

VO에 배열 String[] checkboxList;

 

<input type="text" name="checkboxList[0]" value="1">

<input type="text" name="checkboxList[1]" value="2">

<input type="text" name="checkboxList[2]" value="3">

 

이러면 spring에서 매핑(?) 용어가 기억안나네..

 

string 배열 변수명을 _checkboxList로 쓰면 안됬었음..