		protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		if( request.getSession().getAttribute("adherent") == null ) {
			response.sendRedirect(request.getContextPath() + "/Login");
			return;
		}
		ArticlePersistence service = PersistenceServiceProvider.getService(ArticlePersistence.class);
		if( articleAjoute(request) ) {
			int id = Integer.parseInt( request.getParameter("article") );
			Article article = service.load(id);
			if ( article == null ) {
				response.sendError(HttpServletResponse.SC_NOT_FOUND, "La page entr�e n'est pas valide ");
                return;
			}
            else {
                HttpSession session = request.getSession();
                ArrayList<Article> articles = (ArrayList<Article>) session.getAttribute("orderInProcess");
                if( articles == null ) {
                    articles = new ArrayList<>();
                }
                articles.add(article);
                request.setAttribute("added", id);
            }
		}
		List<Article> articles = service.loadAll();
		RequestDispatcher rd;
		request.setAttribute("articles", articles);
		rd = context.getRequestDispatcher("/jsp/Articles.jsp");
		rd.include(request, response);
	}

		protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		if( request.getSession().getAttribute("adherent") == null ) {
			response.sendRedirect(request.getContextPath() + "/Login");
			return;
		}
		ArticlePersistence service = PersistenceServiceProvider.getService(ArticlePersistence.class);
		if( articleAjoute(request) ) {
			int id = Integer.parseInt( request.getParameter("article") );
			Article article = service.load(id);
			if ( article == null ) {
				response.sendError(HttpServletResponse.SC_NOT_FOUND, "La page entrée n'est pas valide ");
                return;
			}
            else {
                HttpSession session = request.getSession();
                ArrayList<Article> articles = (ArrayList<Article>) session.getAttribute("orderInProcess");
                if( articles == null ) {
                    articles = new ArrayList<>();
                    session.setAttribute("orderInProcess",articles);
                }
                articles.add(article);
                request.setAttribute("added", id);
            }
		}
		List<Article> articles = service.loadAll();
		RequestDispatcher rd;
		request.setAttribute("articles", articles);
		rd = context.getRequestDispatcher("/jsp/Articles.jsp");
		rd.include(request, response);
	}
