@Override
	public String executer(HttpServletRequest req) throws CommandeException 
        {
            Facade f = new Facade(); 
            DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
            ClientBean cb = new ClientBean();
            
            if (((String) (req.getParameter("creerClient"))) != null && ((String) (req.getParameter("creerClient"))).equalsIgnoreCase("Inscrire")) 
            {
                cb.setNom(req.getParameter("nom"));
                if (cb.getNom().equals(""))
                {
                    req.getSession().setAttribute(ConstantesWeb.ATTRIBUT_MESSAGE, "Veuillez entrer votre nom");
                    next = ("inscription.jsp");
                    return next;
                }
                cb.setPrenom(req.getParameter("prenom"));
                if (cb.getPrenom().equals(""))
                {
                    req.getSession().setAttribute(ConstantesWeb.ATTRIBUT_MESSAGE, "Veuillez entrer votre prenom");
                    next = ("inscription.jsp");
                    return next;
                }
                cb.setCourriel(req.getParameter("courriel"));
                if (cb.getCourriel().equals(""))
                {
                    req.getSession().setAttribute(ConstantesWeb.ATTRIBUT_MESSAGE, "Veuillez entrer votre courriel");
                    next = ("inscription.jsp");
                    return next;
                }
                cb.setMotPasse(req.getParameter("motPasse"));
                if (cb.getMotPasse().equals(""))
                {
                    req.getSession().setAttribute(ConstantesWeb.ATTRIBUT_MESSAGE, "Veuillez entrer votre mot de passe");
                    next = ("inscription.jsp");
                    return next;
                }
                try {
                    cb.setDateNaissance((Date) df.parse(req.getParameter("dateNaissance")));
                } catch (ParseException ex) {
                    Logger.getLogger(CommandeClient.class.getName()).log(Level.SEVERE, null, ex);
                    req.getSession().setAttribute(ConstantesWeb.ATTRIBUT_MESSAGE, "Veillez entrer le bon format de la date.");
                    next = ("inscription.jsp");
                    return next;
                }
                cb.setAdresse(req.getParameter("adresse"));
                cb.setTelephone(req.getParameter("telephone"));
                cb.setVille(req.getParameter("ville"));
                cb.setCodeProvince(req.getParameter("codeProvince"));
                cb.setCodePostal(req.getParameter("codePostal"));
                cb.setDeuxiemeNom(req.getParameter("deuxiemeNom"));
                cb.setPays(req.getParameter("pays"));
                
                
                cb.setIdClient(null);
                
                f.editClient(cb);
                next = ("index.jsp");
                return next;
            }
            next = "inscription.jsp";
            return next;
	}