2014-03-16 01:08:05 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2014-03-16 01:14:05 +02:00
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
|
2014-03-16 01:08:05 +02:00
|
|
|
xsi:schemaLocation="
|
|
|
|
|
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-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
|
|
|
|
|
|
|
|
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
|
|
|
|
<property name="prefix" value="/WEB-INF/view/" />
|
|
|
|
|
<property name="suffix" value=".jsp" />
|
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
|
|
<mvc:view-controller path="/sample.html" view-name="sample" />
|
|
|
|
|
|
|
|
|
|
</beans>
|