<strong><span style="font-size:18px;"><bean id = "helloworld" class="com.huoxin.bean1.HelloWorld"> <property name="name" value="123"></property> <property name="age" value="123"></property> <property name="number" value="123"></property> <property name="phone" value="123"></property> <property name="tt" ref="cc"></property> </bean> <bean id ="cc" class="com.huoxin.bean1.TT"> <property name="ppp" value = "250"></property> </bean></span></strong>
tt是对象,需要自己创建实体类, ppp是TT尸体的属性