<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<jsp:useBean id="account" type="it.html.ejb.entity.bmp.BankAccountLocal" scope="request"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Home page conto <jsp:getProperty name="account" property="accountID"/></title>
</head>
<body>
<h1>Conto <jsp:getProperty name="account" property="accountID"/></h1>
<p>Il conto appartiene a <b><jsp:getProperty name="account" property="nome"/></b></p>
<p>Saldo disponibile <b><jsp:getProperty name="account" property="saldo"/></b></p>
<h3>Operazioni disponibili</h3>
<ul>
<li>
<form action="controller">
<input type="text" name="amount"> - Euro
<input type="hidden" name="id" value="<jsp:getProperty name="account" property="accountID"/>">
<input type="hidden" name="op" value="deposito">
<br/><br/>
<input type="submit" value="Deposito">
</form>
</li>
<li>
<form action="controller">
<input type="text" name="amount"> - Euro
<input type="hidden" name="id" value="<jsp:getProperty name="account" property="accountID"/>">
<input type="hidden" name="op" value="prelievo">
<br/><br/>
<input type="submit" value="Prelievo">
</form>
</li>
</ul>
</body>
</html>