<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
<context:component-scan base-package="egovframework">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Service"/>
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Repository"/>
</context:component-scan>
<util:properties id="아이디명" location="경로" />
진하게 색칠되어있는거 추가
'Spring' 카테고리의 다른 글
Spring boot SQL 로그 설정(Log4j2) (0) | 2019.05.02 |
---|---|
Spring Boot 신규 프로젝트 생성 (0) | 2019.04.12 |
Spring + mybats 환경에서 xml 파일 변경시 서버 재시작 없이 반영 방법 (0) | 2014.04.10 |
용어정리 (0) | 2013.06.15 |
web.xml (0) | 2013.06.14 |