http://hellogk.tistory.com/11
http://hellogk.tistory.com/10
http://arabiannight.tistory.com/entry/%EC%9E%90%EB%B0%94Java-String%EC%9D%84-List-List%EB%A5%BC-String-%EB%B0%B0%EC%97%B4%EB%A1%9C-%EB%B3%80%ED%99%98
http://toyuq.tistory.com/160
-------------------------------------
http://itpangpang.xyz/269
http://www.omnibuscode.com/board/board_java/37125
http://mainia.tistory.com/3950
column = obj.get(keyname).toString();
// 세 번째 줄
int x=0;
row = sheet1.createRow(2);
String[] columns = column.split(",", 0);
for (String col : columns ){
cell = row.createCell(x);
cell.setCellValue(col);
x++;
// System.out.println("columns:"+col);
}
cell.setCellStyle(cellStyle); // 셀 스타일 적용
=============================================================
requestbody 한글깨짐
1.
produces="text/plain;charset=UTF-8"
2.
<!-- Start: 한글문제 처리 -->
<filter>
<filter-name>characterEncodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>utf-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>characterEncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- Finish: 한글문제 처리 -->
3.
URLEncoder.encode(ajaxName , "UTF-8");
==============================================================
java like 기능 -> contain
equls 기능 -> matchs
'IT > JAVA' 카테고리의 다른 글
[java] controller 동적으로 url mapping하기 - 동적 주소 매핑 (0) | 2018.10.26 |
---|---|
JAVA - 클라이언트 아이피 확인 (0) | 2018.08.23 |
java 배열 순서 뒤집기. (0) | 2018.06.08 |
java - 웹페이지에서 파싱하기 jsoup (0) | 2018.02.08 |
java - 메모장에 text 저장하기 (0) | 2018.02.07 |