Package dao

Examples of dao.DaoUser.subscribe()


  @Override
  public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("html");
    DaoUser dao = new DaoUser();
    User user = dao.subscribe(request.getParameter("mail"), request.getParameter("pseudo"), request.getParameter("password"));
    if(user != null) {
      request.getSession().setAttribute("user", user);
    }
    else {
      response.setStatus(599);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.