Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

"Save as" option save Excel file as HTML by default?

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've written a simple reporting application which will generate a report in Excel format. Upon completion the page (ReportList.jsp) will then forward a URL to another page (ReportSuccess.jsp) where user have to right click and choose "Save as" to retrieve the report.

On the development environment (XP SP2 with MS Office installed) there is no problem encountered. However, when I ported over the codes to the server (Windows Server 2003 with Open Office installed), when user right click and "Save as" the type is changed to HTML by default.

I've set the file association of .XLS files to be opened by Calc but still that does not solve it. Any other idea?

Additional info: When I right click on the link to view the properties it showed up correctly as "http://<myIP>:8185/SnetReport/REPORT/Gymboree.xls";
 
We must storm this mad man's lab and destroy his villanous bomb! Are you with me tiny ad?
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic