# Conflicts: # src/Test.java # src/métiers/Commande.java # test/métiers/CommandeTest.java
44 lines
1.6 KiB
Plaintext
44 lines
1.6 KiB
Plaintext
<%--
|
|
Document : accueilJSPV6
|
|
Created on : 9 sept. 2024, 12:32:01
|
|
Author : famille Thevenot
|
|
--%>
|
|
|
|
<%@page import="testForms.AuthentifForm"%>
|
|
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Accueil des clients</title>
|
|
</head>
|
|
|
|
<%@include file="jspf/enteteClient.jspf" %>
|
|
<%@include file="jspf/menuClient.jspf" %>
|
|
|
|
<p>Bienvenue sur la nouvelle application de gestion des clients écrite avec JakartaEE</p>
|
|
<!-- utilisation EL -->
|
|
<c:out value="${controlForm.getResultat()}" default="Je ne sais pas encore si vous êtes administrateur, authentifiez-vous !" />
|
|
<c:choose>
|
|
<c:when test="${param.ztPseudo != null}" >
|
|
<p>Bonjour ${param.ztPseudo }</p>
|
|
</c:when>
|
|
|
|
<c:otherwise>
|
|
<!-- Affichage formulaire si pas de pseudo -->
|
|
<form action="authentification" method="post">
|
|
<label for="fpseudo">Pseudo :</label>
|
|
<input type="text" id="fpseudo" name="ztPseudo" required="required"><br><br>
|
|
<label for="fpwd">Mot de passe :</label>
|
|
<input type="password" id="fpwd" name="ztMDP" required="required"><br><br>
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
|
|
</html>
|
|
|
|
|