This commit is contained in:
morgann.david 2024-10-07 12:06:33 +02:00
parent 92f988dd2f
commit 803e6eb7e1
2 changed files with 1 additions and 3 deletions

View File

@ -41,7 +41,7 @@ public class ClientMySQL {
ResultSet resultQ = null;
resultQ = stmt.executeQuery("SELECT * FROM client");
while(resultQ.next()){
String resultat = resultQ.getString("nom") + " " + resultQ.getString("prénom");
String resultat = resultQ.getString("nom") + " " + resultQ.getString("prenom");
lesClients.add(resultat);
}
resultQ.close();

View File

@ -16,8 +16,6 @@
<%@include file="jspf/enteteClient.jspf" %>
<%@include file="jspf/menuClient.jspf" %>
<h2>Liste des clients</h2>
<p>Page en construction2</p>
<c:out value="${laListe}" default="La liste doit être là" />
<c:out value="${laListe}"/>
</body>
</html>