본문 바로가기

개발은 하는건가..

검색하기
개발은 하는건가..
프로필사진 수동애비

  • 전체보기 (114)
    • 잡담 (4)
    • C, C++, MFC (29)
    • Java, Android (13)
    • Web (js, css, html) (7)
    • React-Native (5)
    • SpringBoot , Thymeleaf (22)
    • Server, Maria DBMS (24)
    • SQL Query (8)
    • Etc (0)
Guestbook
Notice
Link
Today
Total
Recent Posts
Recent Comments
«   2025/05   »
일 월 화 수 목 금 토
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
Tags
  • group by
  • 시간대 테이블생성
  • kill -9
  • SQL
  • sql exception
  • Back 키 클릭 감지
  • 스크롤적용
  • springboot
  • MySQL
  • vc++
  • 가변영역 스크롤
  • 시간대별 통계
  • c언어
  • mybatis exception
  • 파티션 빠른 삭제
  • reactnative
  • springboot 재가동
  • 코드로 서버 재실행
  • 터치좌표 view
  • Activity 전체화면
  • pid 찾아 kill
  • view 획득
  • ffmpeg
  • 피쉬랜드
  • rn
  • MFC
  • MariaDB
  • CentOS
  • CSS
  • 말줌임 CSS
more
Archives
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록파일 업로드 (1)

개발은 하는건가..

[Springboot] 파일 업로드

사진 파일 업로드 예) @ResponseBody @PostMapping("/api/photo/upload") public String photoUpload(@RequestParam(required = false) MultipartFile uploadFile) throws IOException { String extFileName = uploadFile.getOriginalFilename().toUpperCase(); if (extFileName.endsWith("JPG") == false) { return "Jpg 파일만 지원합니다"; } int fileSize = uploadFile.getBytes().length; try { File dirFile = new File("파일 저장 경로"); if (d..

SpringBoot , Thymeleaf 2023. 1. 30. 17:35
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바