<%@ page language="java" import="java.util.*,iDSS.*,iDSS.utils.*,iDSS.webBeans.*,iDSS.beans.*,iDSS.grids.*" errorPage="../../error/error.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
	<TITLE><%=IDSSAppConstants.programTitle%></TITLE>

<META HTTP-EQUIV="KEYWORDS" CONTENT="internet-based, DSS, decision support system, Java, Enterprise edition, J2EE">
<META HTTP-EQUIV="DESCRIPTION" CONTENT="">		
</HEAD>

<jsp:useBean id="dataManagerJBean" scope="session" class="iDSS.beans2.DataManagerJBean"/>


<body bgcolor="#FFFFFF">
<h2><%=IDSSAppConstants.tabularDisplay%></h2>

<p>


<%

    Vector table = (Vector)request.getAttribute(IDSSAppConstants.tableVector);

    if(table != null) {

        Vector header = (Vector)table.elementAt(0);
        Vector rows = (Vector)table.elementAt(1);

        %>

            <table width="70%" border="0" VSPACE="5" HSPACE="5" CELLPADDING="5">
                <tr BGCOLOR="#C0C0C0">
                    <%
                        for(int i=0;i<header.size();i++) {
                    %>
                            <th>
                                <%=(String)header.elementAt(i)%>
                            </th>
                    <%
                        } //for(int i=0;i<header.size();i++)
                    %>
                </tr>

                <%
                    for(int i=0;i<rows.size();i++) {
                %>
                        <tr BGCOLOR="#80FFFF">
                            <%
                                Vector oneRow = (Vector)rows.elementAt(i);
                                for(int j=0;j<oneRow.size();j++) {
                            %>
                                    <td>
                                        <%=oneRow.elementAt(j).toString()%>
                                    </td>
                            <%
                                } //for(int j=0;j<oneRow.size();j++)
                            %>
                        </tr>
                <%
                    } //for(int i=0;i<rows.size();i++)
                %>



            </table>

        <%


    } //if(table != null)

%>


</p>



</body>

</html>
