<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
  <bean id="UrlFilenameViewController" class="org.springframework.web.servlet.mvc.UrlFilenameViewController">
    <property name="prefix" value="../" /><!-- not sure why it's needed, but looks like a spring 2 fault -->
  </bean>
  <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    <property name="mappings">
      <props>
        <prop key="*">UrlFilenameViewController</prop>
      </props>
    </property>
    <property name="interceptors">
      <list>
        <bean class="org.displaytag.filter.DisplayTagSpringInterceptor" />
      </list>
    </property>
  </bean>
  <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
    <property name="basename">
      <value>springresources</value>
    </property>
  </bean>
</beans>
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
  <bean id="UrlFilenameViewController" class="org.springframework.web.servlet.mvc.UrlFilenameViewController">
    <property name="prefix" value="../" /><!-- not sure why it's needed, but looks like a spring 2 fault -->
  </bean>
  <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    <property name="mappings">
      <props>
        <prop key="*">UrlFilenameViewController</prop>
      </props>
    </property>
    <property name="interceptors">
      <list>
        <bean class="org.displaytag.filter.DisplayTagSpringInterceptor" />
      </list>
    </property>
  </bean>
  <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
    <property name="basename">
      <value>springresources</value>
    </property>
  </bean>
</beans>
Use spring xsd instead of dtd
[spring] Use spring xsd instead of dtd
