31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
<%--
|
|
Document : accueilJSP
|
|
Created on : 12 sept. 2025, 14:42:44
|
|
Author : steve.maingana
|
|
--%>
|
|
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<%@include file="jspf/entete.jspf" %>
|
|
<body>
|
|
<%@include file="jspf/menu.jspf" %>
|
|
<h1>Gestion de clients</h1>
|
|
<c:choose>
|
|
<c:when test="${!sessionScope.isAuthentified}"><%@ include file="jspf/login.jspf" %></c:when>
|
|
<c:when test="${sessionScope.isAuthentified}">
|
|
<p>Bienvenue ${param.pseudo} !</p>
|
|
<c:choose>
|
|
<c:when test="${!sessionScope.isAuthentified}">
|
|
<p>${authentification.getResultat()}</p>
|
|
</c:when>
|
|
<c:when test="${sessionScope.isAuthentified}">
|
|
<p>${authentification.getResultat()}</p>
|
|
</c:when>
|
|
</c:choose>
|
|
</c:when>
|
|
</c:choose>
|
|
</body>
|
|
</html>
|