
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@page import="java.util.ArrayList"%>
<%@ page import="com.nsep.beans.AccountDetails" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>list</title>
<meta name="keywords" content=""><meta name="description" content=""><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-language" content="">
<link href="css/style.css" rel="stylesheet" type="text/css">
<% ArrayList<AccountDetails> ar=(ArrayList<AccountDetails>)(session.getAttribute("list")); %>
<%AccountDetails bn= new AccountDetails(); %>
<%! int i; %>
<jsp:useBean id="list" scope="request" class="com.nsep.beans.AccountDetails" />
</head>
<body>
<div id="page">
<div id="header">
<h1>Bank List</h1>
</div>
<div id="menu">
</div>
<div id="main">
<div id="content">
<br/> <br/> <br/><center>Bank List </center>
<table border=2>
<tr><th>Bank Id</th><th>Bank Name</th><th>Branch</th><th>Address</th><th>Phone No</th><th>Status</th></tr>
<% for(i=0;i< ar.size();i++){
%>
<tr><td><%=ar.get(i).getBankId() %></td><td><%=ar.get(i).getBankname() %></td><td><%=ar.get(i).getBranch() %></td><td><%=ar.get(i).getAddress() %></td><td><%=ar.get(i).getPhoneno() %></td><td><%=ar.get(i).getStatus1() %></td></tr><%} %>
</table>
Total No of Banks : <%=i%>
<a href="Bank.html"> Bank</a> <br/>
</div><!--content>
</div><!-- main -->
</div><!-- page -->
</body></html>

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.