cours0708/P51/apache-tomcat-6.0.14/webapps/RandoOnLine/infos.jsp

70 lines
2.6 KiB
Plaintext
Raw 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>RandoOnLine - Infos</title>
</head>
<body>
<jsp:useBean id="article" class="com.articles.Article" scope="request" />
<h2>Infos sur l'article</h2>
<table border="0" width="100%">
<thead>
<tr>
<th>Aper<65>u</th>
<th>Propri<72>t<EFBFBD>s</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<img src="./img/<jsp:getProperty name="art" property="photo" />" width="50" height="50" alt="image"/>
</td>
<td>
<table border="0" width="100%" height="100%">
<tbody>
<tr>
<td>R&eacute;f&eacute;rence :
<jsp:getProperty name="art" property="ref" /></td>
</tr>
<tr>
<td>Marque :
<jsp:getProperty name="art" property="marque" /></td>
</tr>
<tr>
<td>Mod&egrave;le :
<jsp:getProperty name="art" property="modele" /></td>
</tr>
<tr>
<td>Description :
<jsp:getProperty name="art" property="description" /></td>
</tr>
<tr>
<td>Prix :
<jsp:getProperty name="art" property="prix" /></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<hr width="100%" size="1">
<h2>Acheter l'article</h2>
<form method="post" action="./Panier?action=add">
<input type="hidden" id="ref" name="ref" value="<jsp:getProperty name="art" property="ref" />">
Quantit<69> :<br />
<input type="text" id="txtQte" name="txtQte" maxLength="3" size="3" /><br />
<input type="submit" value="Acheter">
</form>
</body>
</html>