nbsp; return cueflag; 67. } 68. 69. public void setCacodet(boolean cacodet) { 70. this.cacodet = cacodet; 71. } 72. 73. public void setCuemail(String cuemail) { 74. this.cuemail = cuemail; 75. } 76. 77. public String checkuemail() { 78. 79. cueflag = baseService.checkProperty(Member.class, "email", cuemail, 80. null); 81. return "cuemail"; 82. } 83. 84. public void setCueflag(boolean cueflag) { 85. this.cueflag = cueflag; 86. } 87. 88. public String register() { 89. if (((String) ServletActionContext.getRequest().getSession() 90. .getAttribute("checkcode")).equalsIgnoreCase(acode)) { 91. Member user = new Member(); 92. user.setEmail(member.getEmail()); 93. user.setPass(member.getPass()); 94. boolean sflag = baseService.saveObject(user); 95. if (sflag) { 96. return "register"; 97. } else { 98. return "registererror"; 99. } 100. } else { 101. ServletActionContext.getRequest().setAttribute("register", 102. "acerror"); 103. return "registererror"; 104. } 105. } 106.
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>
|