src/cn/lee/market/struts/actionform/RegisterForm.java

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*     */ package cn.lee.market.struts.actionform;
/*     */ 
/*     */ import cn.lee.market.model.User;
/*     */ import cn.lee.market.util.DateConverter;
/*     */ import java.util.Date;
/*     */ import javax.servlet.http.HttpServletRequest;
/*     */ import org.apache.commons.beanutils.ConvertUtils;
/*     */ import org.apache.struts.action.ActionMapping;
/*     */ import org.apache.struts.validator.ValidatorForm;
/*     */ 
/*     */ public class RegisterForm extends ValidatorForm
/*     */ {
/*     */   private static final long serialVersionUID = 5342205774782086129L;
/*     */   private String username;
/*     */   private String stu_id;
/*     */   private String password;
/*     */   private String repassword;
/*     */   private String question;
/*     */   private String answer;
/*     */   private int photo;
/*     */   private String email;
/*     */   private Date birthday;
/*     */   private String randCode;
/*     */ 
/*     */   static
/*     */   {
/*  32 */     ConvertUtils.register(new DateConverter(), Date.class);
/*     */   }
/*     */ 
/*     */   public String getAnswer() {
/*  36 */     return this.answer;
/*     */   }
/*     */   public void setAnswer(String answer) {
/*  39 */     this.answer = answer;
/*     */   }
/*     */   public Date getBirthday() {
/*  42 */     return this.birthday;
/*     */   }
/*     */   public void setBirthday(Date birthday) {
/*  45 */     this.birthday = birthday;
/*     */   }
/*     */   public String getEmail() {
/*  48 */     return this.email;
/*     */   }
/*     */   public void setEmail(String email) {
/*  51 */     this.email = email;
/*     */   }
/*     */   public String getPassword() {
/*  54 */     return this.password;
/*     */   }
/*     */   public void setPassword(String password) {
/*  57 */     this.password = password;
/*     */   }
/*     */   public int getPhoto() {
/*  60 */     return this.photo;
/*     */   }
/*     */   public void setPhoto(int photo) {
/*  63 */     this.photo = photo;
/*     */   }
/*     */   public String getQuestion() {
后面还有 54 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。