%@ page import="java.util.List" %>
<%@ page import="org.apache.geronimo.samples.bank.ejb.Account" %>
Customer Account Information
Customer Account Information
<%
String customerId = (String) request.getAttribute("customerCode");
String customerName = (String) request.getAttribute("customerName");
List
accountList = (List) request.getAttribute("accountList");
%>
Customer Id: <%=customerId%>
Customer Name: <%=customerName%>
Account Number |
Account Type |
Balance |
<%
for (int i = 0; i < accountList.size(); i++) {
Account account = (Account) accountList.get(i);
String accNo = account.getAccountNumber();
String accType = account.getAccountType();
String balance = "" + account.getBalance();
%>
<%=accNo%>
|
<%=accType%>
|
<%=balance%>
|
<%
}
%>
Home