StudentForm.java
资源名称:exams.rar [点击查看]
上传用户:nbxinmin
上传日期:2021-10-09
资源大小:46k
文件大小:2k
源码类别:
Internet/IE编程
开发平台:
Java
- package com.xdf.exams.web.form;
- import javax.servlet.http.HttpServletRequest;
- import org.apache.struts.action.ActionErrors;
- import org.apache.struts.action.ActionForm;
- import org.apache.struts.action.ActionMapping;
- /**
- * MyEclipse Struts
- * Creation date: 04-04-2007
- *
- * XDoclet definition:
- * @struts.form name="studentForm"
- */
- public class StudentForm extends ActionForm {
- private long studentid;
- private String username;
- private String name;
- private String oldpassword;
- private String newpassword;
- private String address;
- private String sex;
- private String email;
- /**
- * Method validate
- * @param mapping
- * @param request
- * @return ActionErrors
- */
- public ActionErrors validate(ActionMapping mapping,
- HttpServletRequest request) {
- // TODO Auto-generated method stub
- return null;
- }
- /**
- * Method reset
- * @param mapping
- * @param request
- */
- public void reset(ActionMapping mapping, HttpServletRequest request) {
- // TODO Auto-generated method stub
- }
- public String getAddress() {
- return address;
- }
- public void setAddress(String address) {
- this.address = address;
- }
- public String getEmail() {
- return email;
- }
- public void setEmail(String email) {
- this.email = email;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getNewpassword() {
- return newpassword;
- }
- public void setNewpassword(String newpassword) {
- this.newpassword = newpassword;
- }
- public String getOldpassword() {
- return oldpassword;
- }
- public void setOldpassword(String oldpassword) {
- this.oldpassword = oldpassword;
- }
- public String getSex() {
- return sex;
- }
- public void setSex(String sex) {
- this.sex = sex;
- }
- public long getStudentid() {
- return studentid;
- }
- public void setStudentid(long studentid) {
- this.studentid = studentid;
- }
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- }