일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- 자바스크립트경고창
- css 선택자
- 트랜잭션의 특성
- 자바JVM
- 오라클
- 설계 속성
- 속성의 종류
- 복합 속성
- 기본 속성
- Oracle
- 파생 속성
- java
- 다중값 속성
- 속성의 특징
- 집합 연산
- 관계 연산
- sql
- alert경고창
- 자바스크립트innerText
- 유형과 무형에 따른 엔터티 종류
- JAVA JVM
- 테이블의 구조
- SQL문의 실행 순서
- 고립성
- 제이쿼리text
- 결합 연산
- SQL 종류
- 단일 속성
- 연속성
- 발생시점에 따른 엔터티의 종류
- Today
- Total
목록Programming/JAVA (11)
wms's Programming&Study

function listDownload() { $("#fileUpload").attr("action", "/error/list/toExcel") $("#fileUpload").submit(); } 엑셀파일1 엑셀파일2 엑셀 다운로드 @RequestMapping(value="/error/list/toExcel") public void errorListLoad(HttpServletRequest request, HttpServletResponse response, @RequestParam(value="uploadFile1") MultipartFile file1, @RequestParam(value="uploadFile2") MultipartFile filename2) throws FileNotFoundExce..

File file = new File("C:\\Users\\lje\\Desktop\\test.xlsx"); DiskFileItem fileItem = new DiskFileItem("file", Files.probeContentType(file.toPath()), false, file.getName(), (int) file.length() , file.getParentFile()); InputStream input = new FileInputStream(file); OutputStream os = fileItem.getOutputStream(); IOUtils.copy(input, os); MultipartFile multipartFile = new CommonsMultipartFile(fileItem);

import java.text.SimpleDateFormat; import java.util.Date; public class DateEx { public static void main(String[] args) throws InterruptedException { SimpleDateFormat dayTime = new SimpleDateFormat("yyyy-MM-dd a hh:mm:ss.SS"); Date today = new Date (); Date tomorrow = new Date ( today.getTime ( ) + (long) ( 1000 * 60 * 60 * 24 ) ); long reqTime = System.currentTimeMillis(); String reqTimeStr = da..