日期:2014-05-17 浏览次数:20812 次
public String updatePassword(){
Member m1 = new Member();
if(info.getPassword().equals(info.getPassword2())==false){
return "fail";
}else{
m1.setId(info.getId());
m1.setPassword(info.getPassword());
memberManager.updatePassword(m1);
return "success";
}
}
public void updatePassword(Member member) {
hibernateTemplate.update(member);
}
public void updatePassword(Member member) {
memberDao.updatePassword(member);
}