01 <?xml version="1.0" encoding="UTF-8"?>
|
applicationContext-resource.xml 파일에는 두가지의 설정을 포함한다.
- Properties파일 위치및 파일명 설정
- JNDI DataSource설정
Properties파일 설정#
현재는 PropertyPlaceholderConfigurer를 사용하여 컨텍스트 정의의 bean프라퍼티값들내 placeholders 를 분석하도록 하였다. 여기서 classpath:mail.properties 는 classpath내 mail.properties 파일의 내용을 bean설정으로 사용한다는 것이다. 즉 해당 프라퍼티 파일은 [webapp명]/WEB-INF/classes 밑에 위치한다.DataSource설정#
appfuse.xml파일에서 봤듯이 JNDI명을 지정하는 부분이다.Add new attachment
Only authorized users are allowed to upload new attachments.
G’day (anonymous guest)
My Prefs