23 lines
1.0 KiB
XML
Raw Normal View History

2014-03-16 01:08:05 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2014-07-17 01:36:40 +05:30
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
2014-03-16 01:08:05 +02:00
http://www.springframework.org/schema/beans
2014-03-16 01:14:05 +02:00
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
2014-07-17 01:36:40 +05:30
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.2.xsd
2014-03-16 01:08:05 +02:00
http://www.springframework.org/schema/mvc
2014-03-16 01:14:05 +02:00
http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd">
2014-03-16 01:08:05 +02:00
2014-07-17 01:36:40 +05:30
<mvc:annotation-driven />
<context:component-scan base-package="org.baeldung.spring.controller" />
<bean id="viewResolver"
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/view/" />
<property name="suffix" value=".jsp" />
</bean>
2014-03-16 01:08:05 +02:00
2014-07-17 01:36:40 +05:30
<mvc:view-controller path="/sample.html" view-name="sample" />
2014-03-16 01:08:05 +02:00
</beans>