It sounds like you are trying to get Excel to open on your client machine. As long as that is really what you are trying to do - then you would need to send the appropropriate mime type in your response header to let the browser know they type of they file is 'xls'.
See this question:
Setting mime type for excel document
That also means that you would have to have a servlet manage the download rather than simply using an HTML anchor tag directly pointing to the file on the server. Or, you would need to configure your server to send the appropriate mime type whenever a spreadsheet file is being sent to the browser.
Try putting this in your web.xml file:
<!-- Set Excel mime-mapping so spreadsheets open properly instead of being sent as an octet/stream -->
<!-- If this is not done, the user may be prompted to save the file, or it may open as garbage text in the browser -->
<mime-mapping>
<extension>xls</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
(credit: http://wiki.metawerx.net/wiki/Web.xml.MimeMapping)