hey nick u can use these files also
jsp

Code:
				<%
Iterator itr;
ArrayList viewdata=(ArrayList)(session.getAttribute("empAllList"));
%>

<table border="2">

<tr>
<td>Employee Id</td>
<td>Name</td>
<td>Role</td>
<td>Phone</td>
</tr>

 <% for(itr = viewdata.iterator(); itr.hasNext();)  {
                        %><tr><%EmpRegBean b=(EmpRegBean)itr.next();%>
                        <td><%=b.getEmployeeid() %>
                        </td>
                        <td><%=b.getName() %>
                        </td>
                        <td><%=b.getRole() %>
                        </td>
                        <td><%=b.getPhone() %>
                        </td>
                        </tr><% } %>
</table>

Last edited by shabbir; 9Dec2011 at 09:20.. Reason: Code blocks