title: How to create a CSV file using servlet?
body: <p>I want to download a CSV file from a <em>servlet</em>. I have data in the array of objects (<code>object[]</code>), I need to write it into CSV and download.</p>
  
  <p>Could you help me how to do this in a servlet class?</p>