Package Interface

Examples of Interface.SiteDAOInterface


      request.getRequestDispatcher("administration.jsp").forward(request, response)
      return;
    }
  }
  public void updateSite(){
    SiteDAOInterface site = new JDBCSiteDAO();
    ServletContext context = getServletContext();
    site.loadFAQ();
    site.loadListOfGames();
    site.loadSiteInfo();
    context.setAttribute("listOfGames", ListOfGames.getListOfGames());
    context.setAttribute("siteTitre", SiteInfo.getTitre());
    context.setAttribute("siteDescription", SiteInfo.getDescription());
    context.setAttribute("faq",Faq.getFaq());
    GameDAOInterface game = new JDBCGameDAO();
View Full Code Here


  public void init(ServletConfig config) throws ServletException {
    // TODO Auto-generated method stub
    super.init(config);
    // set application scope parameter
  
      SiteDAOInterface site= new JDBCSiteDAO();
        System.out.println("Loading data");
        site.loadSiteInfo();
        System.out.println("Site info loaded:"+SiteInfo.getTitre() +" "+SiteInfo.getDescription());
        site.loadListOfGames();
        for(GameInfo game : ListOfGames.getListOfGames()){
          System.out.println(game.getNom());
        }
        site.loadFAQ();
       
        // to "Certification by Que"
      ServletContext context = config.getServletContext();
      context.setAttribute("faq",Faq.getFaq());
View Full Code Here

      return;
    }
   
  }
  public void updateSite(){
    SiteDAOInterface site = new JDBCSiteDAO();
    ServletContext context = getServletContext();
    site.loadFAQ();
    site.loadListOfGames();
    site.loadSiteInfo();
    context.setAttribute("listOfGames", ListOfGames.getListOfGames());
    context.setAttribute("siteTitre", SiteInfo.getTitre());
    context.setAttribute("siteDescription", SiteInfo.getDescription());
    context.setAttribute("faq",Faq.getFaq());
    GameDAOInterface game = new JDBCGameDAO();
View Full Code Here

      request.getRequestDispatcher("administration.jsp").forward(request, response)
      return;
    }
  }
  public void updateSite(){
    SiteDAOInterface site = new JDBCSiteDAO();
    ServletContext context = getServletContext();
    site.loadFAQ();
    site.loadListOfGames();
    site.loadSiteInfo();
    context.setAttribute("listOfGames", ListOfGames.getListOfGames());
    context.setAttribute("siteTitre", SiteInfo.getTitre());
    context.setAttribute("siteDescription", SiteInfo.getDescription());
    context.setAttribute("faq",Faq.getFaq());
    GameDAOInterface game = new JDBCGameDAO();
View Full Code Here

TOP

Related Classes of Interface.SiteDAOInterface

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.