验证中...
11月18日 珠海源创会报名倒计时,红薯约你一起来聊聊开源技术~
gistfile1.txt
原始数据 复制代码
<?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="stu" class="com.test.Student">
<property name="name" value="dd"></property>
<property name="age" value="23"></property>
</bean>
</beans>
package com.test;
import java.io.Serializable;
public class Student implements Serializable{
private String names;
private int age;
public String getNamer() {
return names;
}
public void setName(String name) {
this.names = name;
}
public int getAge() {
return age;
}
public Student() {
super();
// TODO Auto-generated constructor stub
}
public Student(String names, int age) {
super();
this.names = names;
this.age = age;
}
public void setAge(int age) {
this.age = age;
}
@Override
public String toString() {
return "Student [name=" + names + ", age=" + age + "]";
}
}

评论列表( 0 )

你可以在登录后,发表评论

搜索帮助

12_float_left_people 12_float_left_close