cours0708/workspace/webapps/vues/contenuPanier.jsp

70 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

2008-11-25 21:11:16 +00:00
<%@page contentType="text/html" %>
<%@page pageEncoding="UTF-8" %>
<%@page language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="style.css" type="text/css" />
<title>Contenu du Panier</title>
</head>
<body>
<h1>Contenu du Panier</h1>
<br></br>
<form name="panier" action="panier" method="POST">
<table border="0" width="100%">
<thead>
<tr>
<th>Description</th>
<th>Compl<70>m<EFBFBD>nt</th>
<th>Panier</th>
</tr>
</thead>
<tbody>
<c:forEach items="${articles}" var="artRef" >
<tr>
<td>
<table border="0" width="100%" height="100%">
<tbody>
<tr>
<td>R&eacute;f&eacute;rence : ${artRef.ref}</td>
</tr>
<tr>
<td>Marque : ${artRef.marque}</td>
</tr>
<tr>
<td>Mod&egrave;le : ${artRef.modele}</td>
</tr>
<tr>
<td>Description : ${artRef.description}</td>
</tr>
<tr>
<td>Prix : ${artRef.prix}</td>
</tr>
</tbody>
</table>
</td>
<td>
Quantit<69> : ${artRef.quantite}
</td>
<td>
<a href="./Panier?action=del&artRef=${artRef.ref}">ajouter au panier</a>
</td>
</tr>
</c:forEach>
</tbody>
</table>
<hr width="100%" size="1">
<a href="./ListeArticles">Continuez vos achats</a>
</body>
</html>