티스토리 뷰
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<context:component-scan base-package="com.scan.package" use-default-filters="false">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan>
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/pages/"/>
<property name="suffix" value=".jsp"/>
</bean>
</beans>
'공부 > Spring :: Web Framework' 카테고리의 다른 글
spring util:properties 사용 (0) | 2015.05.08 |
---|---|
[HTTP] head 메소드 에러 (0) | 2015.04.15 |
base spring4-hibernate4 config (applicationContext.xml) (0) | 2015.04.08 |
base web.xml (0) | 2015.04.08 |
Spring Batch (스프링 배치) - 자료 링크 (0) | 2014.04.03 |