1.1 --- a/webidor/src/main/webapp/WEB-INF/dispatcher-servlet.xml Sun Jul 12 13:35:58 2009 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,39 +0,0 @@
1.4 -<?xml version="1.0" encoding="UTF-8"?>
1.5 -<beans xmlns="http://www.springframework.org/schema/beans"
1.6 - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1.7 - xmlns:p="http://www.springframework.org/schema/p"
1.8 - xmlns:aop="http://www.springframework.org/schema/aop"
1.9 - xmlns:tx="http://www.springframework.org/schema/tx"
1.10 - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
1.11 - http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
1.12 -http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
1.13 -
1.14 - <bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping"/>
1.15 -
1.16 - <!--
1.17 - Most controllers will use the ControllerClassNameHandlerMapping above, but
1.18 - for the index controller we are using ParameterizableViewController, so we must
1.19 - define an explicit mapping for it.
1.20 - -->
1.21 - <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
1.22 - <property name="mappings">
1.23 - <props>
1.24 - <prop key="index.html">indexController</prop>
1.25 - </props>
1.26 - </property>
1.27 - </bean>
1.28 -
1.29 - <bean id="viewResolver"
1.30 - class="org.springframework.web.servlet.view.InternalResourceViewResolver"
1.31 - p:prefix="/WEB-INF/jsp/"
1.32 - p:suffix=".jsp" />
1.33 -
1.34 - <!--
1.35 - The index controller.
1.36 - -->
1.37 - <bean name="indexController"
1.38 - class="org.springframework.web.servlet.mvc.ParameterizableViewController"
1.39 - p:viewName="index" />
1.40 -
1.41 -
1.42 -</beans>