728x90
반응형
Spring에서는 SP, EL 태그를 통한 공통 사용 코드사용 가능
* 참고 : Spring 3.0이상 버전부터 사용이 가능
web.xml에서 root-context.xml을 설정
-> 해당파일에서 util형식의 설정파일을 선언
-> 선언된 설정파일에서 spring에서 제공하는 sp, el태그에 들어갈 설정 명시
root-context.xml파일에 해당 설정파일 명시
allconfig.properties에서 필요에 따른 설정 파일 지정
* 해당 설정에 대한 파일별 사용방법
web.xml에서 DispatcherServlet을 선정
728x90
반응형
'❤️01_Java > 01_Spring & Boot' 카테고리의 다른 글
#Spring #IOException #현재 연결은 사용자의 호스트 시스템의 소프트웨어의 의해 중단되었습니다 (0) | 2024.02.14 |
---|---|
#Spring #DB설정 #application.yml #jdbc-url (0) | 2023.06.08 |
#Maven(메이븐) #pom.xml #scope #설정 (0) | 2023.05.31 |
#DI #Dependency Injection #Spring (0) | 2023.05.26 |
[SpringBoot] 문제해결: template might not exist or might not be accessible by any of the configured Template Resolvers (0) | 2023.03.15 |
댓글