sp; ServletActionContext.getRequest().setAttribute("register", "acerror"); return "registererror"; } }
public String login() { if (((String) ServletActionContext.getRequest().getSession() .getAttribute("checkcode")).equalsIgnoreCase(acode)) { Member user = memberService.login(member.getEmail(), member.getPass());
if (user == null) { ServletActionContext.getRequest() .setAttribute("login", "error"); return "loginerror"; } else { ServletActionContext.getRequest().getSession() .setAttribute("user", user); return "login"; } } else { ServletActionContext.getRequest().getSession() .setAttribute("login", "acerror"); return "loginerror"; }
}
public String checkAcodet() { if (((String) ServletActionContext.getRequest().getSession() .getAttribute("checkcode")).equalsIgnoreCase(acodet)) { cacodet = true; &n << 上一页 [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] 下一页
|