Course.java
packageentity;public classCourse {private intid;privateString num;privateString mima;privateString sex;privateString name;privateString studentnum;privateString youxiang;privateString xueyuan;privateString xi;privateString banji;privateString year;privateString plase;privateString beizhu;public intgetId() {returnid;
}public void setId(intid) {this.id =id;
}publicString getNum() {returnnum;
}public voidsetNum(String num) {this.num =num;
}publicString getMima() {returnmima;
}public voidsetMima(String mima) {this.mima =mima;
}publicString getSex() {returnsex;
}public voidsetSex(String sex) {this.sex =sex;
}publicString getStudentnum() {returnstudentnum;
}public voidsetStudentnum(String studentnum) {this.studentnum =studentnum;
}publicString getYouxiang() {returnyouxiang;
}public voidsetYouxiang(String youxiang) {this.youxiang =youxiang;
}publicString getXueyuan() {returnxueyuan;
}public voidsetXueyuan(String xueyuan) {this.xueyuan =xueyuan;
}publicString getXi() {returnxi;
}public voidsetXi(String xi) {this.xi =xi;
}publicString getBanji() {returnbanji;
}public voidsetBanji(String banji) {this.banji =banji;
}publicString getYear() {returnyear;
}public voidsetYear(String year) {this.year =year;
}publicString getPlase() {returnplase;
}public voidsetPlase(String plase) {this.plase =plase;
}publicString getBeizhu() {returnbeizhu;
}public voidsetBeizhu(String beizhu) {this.beizhu =beizhu;
}publicString getName() {returnname;
}publicCourse() {}publicCourse( String num, String mima, String sex, String name, String studentnum, String youxiang, String xueyuan, String xi, String banji, String year, String plase, String beizhu) {this.num =num;this.mima =mima;this.sex =sex;this.name =name;this.studentnum =studentnum;this.youxiang =youxiang;this.xueyuan =xueyuan;this.xi =xi;this.banji =banji;this.year =year;this.plase =plase;this.beizhu =beizhu;
}
}
CourseServlet.java