6. Spring MVC 를 이용한 게시판 구현연습
Spring MVC를 이용한 웹앱 제작(게시판연습)
Devtools
lombok
JPA
Mysql
Thymeleaf
Web<!-- https://mvnrepository.com/artifact/nz.net.ultraq.thymeleaf/thymeleaf-layout-dialect -->
<dependency>
<groupId>nz.net.ultraq.thymeleaf</groupId>
<artifactId>thymeleaf-layout-dialect</artifactId>
<version>2.3.0</version>
</dependency>spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url = jdbc:mysql://localhost:3306/{DB명}?useSSL=false
spring.datasource.username={유저이름}
spring.datasource.password={비밀번호}
spring.jpa.hibernate.ddl-auto=update
spring.jpa.generate-ddl=true
spring.jpa.show-sql=true
spring.jpa.database=mysql
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
logging.level.org.hibernate=true
spring.thymeleaf.cache=false
logging.level.org.springframework.web=info
logging.level.org.djlee=infoPageableDefault를 통해 컨트롤러의 적용방법
PageVO
Jquery에서 href 속성을 갖고 싶은데 못갖을 떄 해결법
Last updated