Grosse MàJ

This commit is contained in:
olivier
2008-11-25 22:11:16 +01:00
parent 53195fdfcd
commit 3e719157ea
2980 changed files with 343846 additions and 0 deletions

View File

@ -0,0 +1,69 @@
<%@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>

View File

@ -0,0 +1,58 @@
<%@page contentType="text/html" %>
<%@page pageEncoding="UTF-8" %>
<%@page language="java" %>
<!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>Liste des articles</h1>
<br></br>
<table border="0" width="100%">
<thead>
<tr>
<th>Description</th>
<th>Compl<70>ment</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>
<a href="./ListeArticles?action=info&artRef=${artRef.ref}">infos</a>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</body>
</HTML>

View File

@ -0,0 +1,12 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:url var="login" value="/connexion" />
<h1>Authentification</h1>
<p><c:out value="${message}" default="Identifiez-vous :"/></p>
<form method="POST" action="${login}">
<label>Identifiant :</label>
<input name="id" type="text" value="<c:out value="${user.id}"/>"/><br />
<label>Mot de passe : </label>
<input name="password" type="password" value="<c:out value="${user.password}"/>"/><br/>
<input name="ok" type="submit" value="Ok"/>
</form>

View File

@ -0,0 +1,20 @@
<%@page contentType="text/html" %>
<%@page pageEncoding="UTF-8" %>
<%@page language="java" %>
<!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>Panier</title>
</head>
<body>
<body>
<h1>Panier</h1>
<P>panier vide</P>
<a href="./ListeArticles">Continuez vos achats</a>
</body>
</html>

View File

@ -0,0 +1,6 @@
<%@ taglib prefix="balise" uri="/WEB-INF/tld/librairie.tld" %>
<%
String identifiant = request.getParameter("id");
out.println("Votre identifiant est: " + identifiant);
%>