Examples of faireRequete()


Examples of Interface.TableDAOInterface.faireRequete()

      String newsletter = request.getParameter(" NEWS_LETTER").toString();
      String admin = request.getParameter(" ADMINISTRATEUR").toString();
      String requete = "insert into UTILISATEUR(LOGIN,MDP,DATE_FIN_ABONNEMENT,COMPTE_VALIDER,EMAIL,NEWS_LETTER,ADMINISTRATEUR)";
      requete = requete + "values ('"+ login +"','"+ mdp +"','"+ datefinabo +"',"+ comptevalider +",'"+ email +"',"+ newsletter +","+ admin +")";
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response)
    }else if(tableName.equals("QUESTION_REPONSE")){
      String num_qr = request.getParameter("NUM_QR").toString();
View Full Code Here

Examples of Interface.TableDAOInterface.faireRequete()

      String text = request.getParameter(" TEXT").toString();

      String requete = "insert into QUESTION_REPONSE(TEXT,NUM_QR,ID_SITE) values (TEXT=\"" + text + "\", NUM_QR=" + num_qr + ", ID_SITE=" + id_site+")";
      System.out.println(requete);
      TableDAOInterface tableDAO = new JDBCTableDAO();
      tableDAO.faireRequete(requete);
      tableDAO.loadDatas();
      updateSite();
      request.getRequestDispatcher("administration.jsp").forward(request, response)
      return;
    }
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.