<?xml version="1.0" encoding="UTF-8"?>
<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"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
    <bean id="propsResolver" class="org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver">
        <property name="mappings">
            <value>
/welcome.do=welcome
/showTree.do=showTree
/addPerson.do=addPerson
/updatePhoneNumber.do=updatePhoneNumber
/removePerson.do=removePerson
/showPerson.do=showPerson
        </value>
        </property>
    </bean>
    <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
        <property name="mappings">
            <value>
                /*.do=defaultController
            </value>
        </property>
    </bean>
    <bean id="defaultController"
        class="org.springframework.ldap.samples.article.web.DefaultController">
        <property name="ldapTreeBuilder" ref="ldapTreeBuilder"/>
        <property name="personDao" ref="personDao"/>
    </bean>
    <bean
        class="org.springframework.web.servlet.view.InternalResourceViewResolver">
        <property name="prefix" value="/WEB-INF/jsp/" />
        <property name="suffix" value=".jsp" />
    </bean>
</beans>