
[Spring] Java 기반으로 Spring 설정 변경하기(2) [jsp 연동 및 라이브러리 적용]
·
▣ Framework/Spring🍃
[Spring] Java 기반으로 Spring 설정 변경하기(1)[xml 기반에서 Java 기반으로 설정 변경하기] 1. Java 기반으로 Spring 설정 변경하기 기존 시큐리티 적용 시에 xml로 관리할 경우, 예외 페이지 등록이 매우 번거로움. → 시큐리티를 좀 더 쉽게 관리하기 위해 Java로 설정을 변경하려고 함 - yermi.tistory.com 1. jsp 파일 웹 페이지로 출력하기 - ServletConfig.java package works.yermi.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.sp..