fix
This commit is contained in:
parent
92f988dd2f
commit
803e6eb7e1
@ -41,7 +41,7 @@ public class ClientMySQL {
|
|||||||
ResultSet resultQ = null;
|
ResultSet resultQ = null;
|
||||||
resultQ = stmt.executeQuery("SELECT * FROM client");
|
resultQ = stmt.executeQuery("SELECT * FROM client");
|
||||||
while(resultQ.next()){
|
while(resultQ.next()){
|
||||||
String resultat = resultQ.getString("nom") + " " + resultQ.getString("prénom");
|
String resultat = resultQ.getString("nom") + " " + resultQ.getString("prenom");
|
||||||
lesClients.add(resultat);
|
lesClients.add(resultat);
|
||||||
}
|
}
|
||||||
resultQ.close();
|
resultQ.close();
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
<%@include file="jspf/enteteClient.jspf" %>
|
<%@include file="jspf/enteteClient.jspf" %>
|
||||||
<%@include file="jspf/menuClient.jspf" %>
|
<%@include file="jspf/menuClient.jspf" %>
|
||||||
<h2>Liste des clients</h2>
|
<h2>Liste des clients</h2>
|
||||||
<p>Page en construction2</p>
|
|
||||||
<c:out value="${laListe}" default="La liste doit être là" />
|
<c:out value="${laListe}" default="La liste doit être là" />
|
||||||
<c:out value="${laListe}"/>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user