title: JSP generating Excel spreadsheet (XLS) to download
body: <p>I have this application I'm developing in JSP and I wish to export some data from the database in XLS (MS Excel format).</p>
  
  <p>Is it possible under tomcat to just write a file as if it was a normal Java application, and then generate a link to this file? Or do I need to use a specific API for it? </p>
  
  <p>Will I have permission problems when doing this?</p>