Framework/SpringBoot (14) 썸네일형 리스트형 [Spring Boot] Security Database 사용하기 2023.11.22 - [Framework/SpringBoot] - [Spring Boot] ①Security Status Check , ②Security taglib 사용하기 [Spring Boot] ①Security Status Check , ②Security taglib 사용하기 2023.11.21 - [Framework/SpringBoot] - [Spring Boot] Spring Security 적용하기 [Spring Boot] Spring Security 적용하기 1. 프로젝트 생성 1) 프로젝트 설정 ✔ bulid.gradle // jsp 설정 추가 eclipse.wtp.facet { // Change the version of the 100ke.tistory.com ▶ 이전 포스트에서 Se.. [Spring Boot] ①Security Status Check , ②Security taglib 사용하기 2023.11.21 - [Framework/SpringBoot] - [Spring Boot] Spring Security 적용하기 [Spring Boot] Spring Security 적용하기 1. 프로젝트 생성 1) 프로젝트 설정 ✔ bulid.gradle // jsp 설정 추가 eclipse.wtp.facet { // Change the version of the Dynamic Web Module facet facet name: 'jst.web', version: '5.0' } dependencies { implementation 'org.springframework.boot:sp 100ke.tistory.com ▶ 이전 포스트에서 Security 적용한 프로젝트를 수정하여 작업합니다. 1. 로그인 .. [Spring Boot] Spring Security 적용하기 1. 프로젝트 생성 1) 프로젝트 설정 ✔ bulid.gradle // jsp 설정 추가 eclipse.wtp.facet { // Change the version of the Dynamic Web Module facet facet name: 'jst.web', version: '5.0' } dependencies { implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lomb.. [Spring Boot] Transaction 적용하기 1. 프로젝트 생성 프로젝트 초기설정은 이전 프로젝트와 동일하게 진행했습니다. 아래 글을 참고하시면 됩니다. 2023.11.16 - [Framework/SpringBoot] - [Spring Boot] 스프링 부트에서 Mybatis 사용하여 간단한 게시판 구현하기 폴더 및 패키지 구조도 동일하게 생성합니다. 2. DB 작업 트랜잭션 실습을 위한 transaction1 테이블을 생성합니다. 3. 코드 작성 (트랜잭션 적용 전) 1) DTO 생성 @Data public class Transaction1Dto { private String consumerId; private int amount; } 2) DAO 생성 @Mapper public interface ITransaction1Dao { public v.. [Spring Boot] Service를 적용하여 비즈니스 로직 수행하기 이전 포스트 글에서 사용한 프로젝트에서 이어서 진행하겠습니다. 2023.11.17 - [Framework/SpringBoot] - [Spring Boot] Mybatis를 사용한 간단한 게시판 구현 - 파라미터 타입을 Map 형태로 바꿔서 적용해보기 1. Service 패키지 추가 1) ISimpleBbsService 인터페이스 생성 이전에 만들어둔 dao를 참고하여 코드를 작성했습니다. [com.study.springboot.dao] ISimpleBbsDAO @Mapper public interface ISimpleBbsDAO { public List listDao(); public int countDao(); public SimpleBbsDTO viewDao(String id); public int .. [Spring Boot] WebJars에서 bootstrap 적용하기 1. WebJars https://www.webjars.org/ WebJars - Web Libraries in Jars www.webjars.org WebJars에서 bootstrap 검색 2. Spring Boot 1) build.gradle에 추가 2) 테스트용 화면 생성 bootstrapTest.jsp 1 jsp 파일에서 위의 두 태그를 추가하여 확인한다. 3) 컨트롤러 설정 @Controller public class MyController { @RequestMapping("/") public String root() { return "bootstrapTest"; } } 💻 서버 구동 테스트 이전 1 2 다음