<?xml version="1.0" encoding="UTF-8"?>标签:02,www,http,spring,例子,beans,org From: https://www.cnblogs.com/wugh8726254/p/17378859.html
<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理解为我们的javaBean,其中两个property标签即表示给User类中的name和age属性赋值!-->
<bean id="User" class="com.sz.model.User">
<property name="name" value="刘邦"/>
<property name="Age" value="36"/>
</bean>
</beans>