Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 자바
- Thymeleaf
- Proxy
- JPQL
- jpa
- http
- spring
- kotlin
- 알고리즘
- springdatajpa
- Exception
- SpringBoot
- 백준
- pointcut
- db
- Servlet
- 인프런
- java
- 스프링 핵심 원리
- Spring Boot
- JDBC
- 김영한
- AOP
- 그리디
- transaction
- Greedy
- 스프링
- Android
- QueryDSL
- 스프링 핵심 기능
Archives
- Today
- Total
목록multi part (1)
개발자되기 프로젝트
[File업로드] Servlet & File업로드 2
1. 파일 저장 경로 지정. 서블릿이 제공하는 Part 에 대해 알아보고 실제 파일도 서버에 업로드 해보자. 먼저 파일을 업로드를 하려면 실제 파일이 저장되는 경로가 필요하다. application.properties : 경로 끝에 / 추가 필요. file.dir=C:/Users/계정/..../file/ 2. Controller @Slf4j @Controller @RequestMapping("/servlet/v2") public class ServletUploadControllerV2 { @Value("${file.dir}") private String fileDir; @GetMapping("/upload") public String newFile(){ return "upload-form"; } @Pos..
인프런/[인프런] 스프링 MVC 2
2021. 10. 2. 16:34