hmmm.... i would appreciate if you would post the answer here so that more people can enjoy the answer months from now....
i had problems with this one. one problem was that the MIME type was not correct and i had to change it in my web.xml:
<mime-mapping> <extension>xls</extension> <mime-type>application/vnd.ms-excel</mime-type> </mime-mapping>
other than that, micro$haft IE should display if you have word installed, or a 3rd party viewer
By all means in this situation the best way will be-http://www.recoverytoolbox.com/unable_to_read_xls_xlsx.html,because tool has many facilities and is free as far as I know,utility solve problem with corrupted files in Microsoft Excel format and repair Excel-unable to read file,also next problems: Microsoft Excel unable to read file, Excel the file may be read-only or you may be trying to access a read-only location, or excel cannot access read-only document, the results of your work may be lost,will help you, when cannot read Excel file because corrupted and when Excel 2007 unable to read file xlsx,can analyze a corrupted file and preview the results,export to Excel unable to read file these results to a new Microsoft Excel worksheet,yet export to Excel file after exporting it shows unable to read file, unable to read file can t save on Excel and Excel the file may be read-only or you may be trying to access a read-only location.
I stored some excel file in jboss-3.2.3 server inside a war directory. then i create a html and link with these file and hope the excel file open in the browser, but it can't.
But i try to use jboss-3.2.2rc2, it works.
Is it relate to the jboss version?? what's different between jboss 3.2.2 rc2 and jboss3.2.3?
On the whole in this situation helps one tool-http://www.recoverytoolbox.com/repair_xls.html,to my mind,because it has many interest capabilities and tool is free as far as I remember,moreover utility recover worksheets in Microsoft Excel format,program will permit to save many hours of your time and efforts of your colleagues,will allow to repair your workbooks in Microsoft Excel format just in several mouse clicks,will be repaired automatically by our software for repair .xls files and without blind-spots, cause if you get something very serious, for example HDD failure, all your information on it will be lost, together with workbooks in Microsoft Excel format.
zlatan24 - please do not reply to 5-year-old posts. I doubt that any of the original posters care anymore. Besides, what you posted doesn't even help solve the problems mentioned.