application.properties
페이지 정보
본문
spring.application.name=web1
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3307/springboot
spring.datasource.username=root
spring.datasource.password=1111
#Spring Data JPA 설정 추가
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.show-sql=true
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.html
spring.thymeleaf.mode=HTML
spring.thymeleaf.cache=false
#첨부파일 (경로 매칭)
spring.servlet.multipart.enabled=true
spring.servlet.multipart.location=C:\\springboot_422\\web1\\src\\main\\resources\\static\\upload
spring.servlet.multipart.max-request-size=30MB
spring.servlet.multipart.max-file-size=10MB
web.upload.path=C:\\springboot_422\\web1\\src\\main\\resources\\static\\upload
- 이전글■ 첨부파일 ( upload 폴더 생성 ) 24.06.25
- 다음글CustomServletConfig 24.06.25
댓글목록
등록된 댓글이 없습니다.