How to create and save an excel file to a specific location in a java application?
<p>I want to create an excel file using <code>addHeader</code> and save it in a desired location on my system. Can anyone tell me how to do this? </p>

<p>At present, my file is created and saved, but its getting saved in the downloads folder.</p>

<p><strong>(Update from comments)</strong></p>

<p>This is part of my code:</p>

<pre><code>response.addHeader("Content-Disposition", "inline; filename=\\Report.xls\"");    
response.setContentType("application/vnd.ms-excel") 
</code></pre>
