Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe

중복제거

A collection of 2 posts
중복제거

태그 파일 중복 제거 예제

스프링 form태그를 이용해서 태그 파일 두 개를 만들었습니다. 하나는 일반 text, 하나는 password입니다. osaf/ftext.tag <%@ tag pageEncoding=”euc-kr” %> <%@ taglib prefix=”form” uri=”http://www.springframework.org/tags/form” [http://www.springframework.org/tags/form”]; %> <%@ attribute name=”path” required=”true” %> <%@ attribute name=”label” required=”false” %> <%@ attribute name=”size” required=
Sep 17, 2008 — 4 min read
리팩터링

엑셀 시트 복사하기(with POI) + 리팩터링

private void copySheet(HSSFSheet from, HSSFSheet to) { HSSFRow firstRow = from.getRow(0); HSSFRow secondRow = from.getRow(1); HSSFRow thirdRow = from.getRow(2); HSSFRow firstRow2 = to.createRow(0); HSSFRow secondRow2 = to.createRow(1); HSSFRow thirdRow2 = to.createRow(2); Iterator iterator = firstRow.cellIterator(); short col = 0; while(iterator.hasNext()) addCell(firstRow2,
Jul 1, 2008 — 2 min read
Whiteship © 2022
Powered by Ghost