title: How to make JSTL-spring generate clean HTML code?
body: <p>I'm beginning to work with JSTL-spring. It's wonderful, however I need to review the HTML code that it generates. I have a method that appends to a string all the HTML code, so when I <code>&lt;c:out&gt;</code> the string it prints one big line, the browser interprets it fine, but not me, and I need to, to accurately debug and make a clean code.</p>
  
  <p>In other words I need linebreaks for the HTML string, not linebreaks for the interpreted html (not <code>&lt;br&gt;</code> tag). I tried <code>/n</code> but it just prints <code>/n</code>. Here is code example:</p>
  
  <pre><code>productThumbnails+="&lt;div class=\"prod_box\"&gt;";
      productThumbnails+="&lt;div class=\"top_prod_box\"&gt;&lt;/div&gt;";
      productThumbnails+="&lt;div class=\"center_prod_box\"&gt;";
          productThumbnails+="&lt;div class=\"product_title\"&gt;&lt;a href=\"details.html\"&gt;"+productTemp.getProductName()+"&lt;/a&gt;&lt;/div&gt;";
          productThumbnails+="&lt;div class=\"product_title\"&gt;&lt;a href=\"details.html\"&gt;"+productTemp.getProductModel()+"&lt;/a&gt;&lt;/div&gt;";
          productThumbnails+="&lt;div class=\"product_img\"&gt;&lt;a href=\"details.html\"&gt;&lt;img width=\"90\" alt=\""+productTemp.getProductName()+"\" src=\""+productTemp.getProductImage()+"\"/&gt;&lt;/a&gt;&lt;/div&gt;";
      productThumbnails+="&lt;/div&gt;";
  productThumbnails+="&lt;/div&gt;";
  </code></pre>
  
  <p>In the view, I print everything with:</p>
  
  <pre><code>&lt;c:out value="${productThumbnails}" escapeXml="false" /&gt;
  </code></pre>