<?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 ">
<bean>
<property>
<props>
<prop key="/login.do">loginController</prop>
</props>
</property>
</bean>
<bean>
<property>
<value>true</value>
</property>
<property>
<value>loginCommand</value>
</property>
<property>
<value>com.test.spring.mvc.commands.LoginCommand</value>
</property>
<property>
<ref bean="authenticationService"/>
</property>
<property>
<value>login</value>
</property>
<property>
<value>loginDetail</value>
</property>
</bean>
<bean>
<property>
<value>org.springframework.web.servlet.view.JstlView</value>
</property>
<property>
<value>/jsp/</value>
</property>
<property>
<value>.jsp</value>
</property>
</bean>
</beans>
Spring MVC入门使用实例详解(2)
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:http://www.heiqu.com/21534c9665606841c9cd80009d4ddd60.html