title: How to Display List Contents in tabular format in a JSP file?
body: <p>In an Action.java file, am using the following piece of code.</p>
  
  <pre><code>request.setAttribute("TAREWEIGHT", tareWeightList);
      request.setAttribute("BARCODE", barcodeList);
  return (mapping.findForward(target));
  </code></pre>
  
  <p>tareWeightList &amp; barcodeList actually holds few values. 
  After setting the list values to the attributes, the java file forwards the contents to a JSP file.</p>
  
  <p>There in JSP file, I can get the contents using below lines,</p>
  
  <pre><code>&lt;%=request.getAttribute("TAREWEIGHT")%&gt;
  &lt;%=request.getAttribute("BARCODE") %&gt;
  </code></pre>
  
  <p>My requirement is that the contents of that lists should be diplayed in a tabular format.</p>
  
  <p>Barcode values in first column and its corresponding Tareweight values in the second column.</p>
  
  <p>Suggest me an idea for writing the code in JSP file so as the contents are displayed in a tabulated format.</p>