public String addUser(){
		String email = request.getParameter("email");
		String nickname = StringUtil.encodeString(request.getParameter("nickname"));
		String password = request.getParameter("password");
		UserDAO dao = DAOFactory.getUserDAO();
		User user = new User();
		user.setEmail(email);
		user.setNickname(nickname);
		user.setPassword(password);
		try {
			dao.addUser(user);
			request.getSession().setAttribute("user", user);

			//response.sendRedirect("../OpResult.jsp?op=reg&ret=true");
			return "success";
		} catch (Exception e) {
		//	response.sendRedirect("../OpResult.jsp?op=reg&ret=false");
			return "fail";
		}
	}