validate = Boolean.valueOf(false);
des = "Có lỗi khi đăng ký";
}
}
}
ResgisterRs rs = new ResgisterRs();
if (validate.booleanValue())
rs.setCode("0");
else {
rs.setCode("1");
}
rs.setMessage(des);
rs.setPhonenumber(phoneNumber);
Gson gson = new Gson();
resp.getWriter().println(gson.toJson(rs));
}