This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Context path="/ProjetSDIS29_2/accueilJSP.jsp"/>
|
||||
<Context path="/ProjetSDIS29_2/Authentification"/>
|
||||
|
@@ -8,14 +8,14 @@
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
|
||||
<!-- Message de bienvenue personnalisé -->
|
||||
<p>Bienvenue <c:out value="${param.ztPseudo}" /> sur la nouvelle application de gestion des clients</p>
|
||||
<p>Bienvenue <c:out value="${param.ztPseudo}" /></p>
|
||||
${empty param.ztPseudo ? "Veuillez vous authentifier" : "Authentification réussie"}
|
||||
<!-- Affichage du formulaire si l'utilisateur ne s'est pas encore authentifié -->
|
||||
<c:choose>
|
||||
<c:when test="${empty param.ztPseudo}">
|
||||
<fieldset>
|
||||
<legend>Authentification</legend>
|
||||
<form method="POST" action="Accueil">
|
||||
<form method="POST" action="Authentification">
|
||||
<input type="text" name="ztPseudo" placeholder="Pseudo" /><br /><!-- comment -->
|
||||
<input type="password" name="ztMDP" placeholder="Mot de passe" /><br /><br />
|
||||
<input type="submit" value="Valider" />
|
||||
|
Reference in New Issue
Block a user