What is the most effective way of printing Arraylist of string array in Jsp?
<p>There is an ArrayList which contains String arrays . Each string array contains values of each row. I want to print this in JSP. I tried printing it directly from servlet,its working but it is very slow since there is a lot of data.How to do this in JSP EL ?</p>

<pre><code>public void printTableData(List&lt;String[]&gt; dataTable, PrintWriter out) {
        System.out.println(dataTable);
        out.println("&lt;table border='1'&gt;");
        out.println("&lt;tr&gt;");
        for (int j = 0; j &lt; dataTable.get(0).length; j++) {
            out.println("&lt;th&gt;" + dataTable.get(0)[j] + "&lt;/th&gt;");
        }
        out.println("&lt;/tr&gt;");
        if (dataTable.size() &gt; 1)
            for (int i = 1; i &lt; dataTable.size(); i++) {
                out.println("&lt;tr&gt;");
                for (int j = 1; j &lt; dataTable.get(i).length; j++) {
                    out.println("&lt;td&gt;" + dataTable.get(i)[j] + "&lt;/td&gt;");

                }
                out.println("&lt;/tr&gt;");
            }
        out.println("&lt;/table&gt;");
    }

}
</code></pre>