title: JXLS. How can I put different collections in different sheets?
body: <p>I'm trying to put two collections in a excel document. I'm doing this:</p>
  
  <pre><code>context.putVar("collection1", collection1);
  context.putVar("collection2", collection2);    
  xlsHelper.getInstance().processTemplate(getClass().getClassLoader().getResourceAsStream("templates/exceldocument.xls"), os, context);
  </code></pre>
  
  <p>The excel document has two sheets, one sheet where are the <code>collection1</code> and the other sheet where there are the <code>collection2</code>.</p>
  
  <p>But when I do this only one collection are put in one sheet.</p>
  
  <p>How to put two collections in differents sheets?</p>