Package dao

Examples of dao.DaoPariHistorique


  public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("json");
    PrintWriter out = response.getWriter();
    User user = (User) request.getSession().getAttribute("user");
    List<Pari> paris = user.getParis();
    DaoPariHistorique daoParisHistorique = new DaoPariHistorique();
    List<PariHistorique> paris_historique = daoParisHistorique.getBetsHistory(user.getMail());
    List<List<Paris_S>> json = new ArrayList<List<Paris_S>>();
    if(paris != null && !paris.isEmpty()) {
      List<GareSelection> selection = (List<GareSelection>) request.getAttribute("gares_selection");
      List<Paris_S> json_p = new ArrayList<Paris_S>();
      for(Pari p : paris) {
View Full Code Here

TOP

Related Classes of dao.DaoPariHistorique

Copyright © 2018 www.massapicom. 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.