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());