cours0708/P51/apache-tomcat-6.0.14/webapps/ecommerce/resultPayement.jsp

45 lines
1.4 KiB
Plaintext

<h2>Confirmation de la commande</h2>
<p>Rappel de la commande :</p>
<table border="0" width="100%">
<thead>
<tr>
<th>Reference</th>
<th>Modele</th>
<th>Prix</th>
</tr>
</thead>
<tbody>
<c:forEach items="${articles}" var="artRef" >
<tr>
<td>
R&eacute;f&eacute;rence : ${artRef.ref}
</td>
<td>
Mod&egrave;le : ${artRef.modele}
</td>
<td>
Prix : ${artRef.prix}
</td>
</tr>
</c:forEach>
<tr>
<td colspan="2" class="tabTotal">Total :</td>
<td>
<jsp:useBean id="panierTotal" class="com.articles.Panier" scope="request" />
<jsp:getProperty name="panierTotal" property="prixTotal" />
</td>
</tr>
</tbody>
</table>
<hr width="100%" size="1">
<jsp:useBean id="client" class="com.articles.Client" scope="request" />
<p>Note : le payement se fera à la livraison de la commande à l'adresse suivante :<br />
<jsp:getProperty name="client" property="nom" />&nbsp;<jsp:getProperty name="client" property="prenom" /><br />
<jsp:getProperty name="client" property="adresse" /><br />
<jsp:getProperty name="client" property="codePost" />&nbsp;<jsp:getProperty name="client" property="ville" />
</p>