This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Excel in MSIE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Excel in MSIE" Watch "Excel in MSIE" New topic

Excel in MSIE

raj edla

Joined: Apr 24, 2004
Posts: 2

I am having a problem in opening a csv(comma separated file or even a xls file) in browser.
what I am trying to do is on the click of a button I should get a new browser window and excel embedded into it and I should be able to see my data in it.
But eventhough I set my content type to 'application/' it opens up a window and shows the data as if it was a text file.
I really appreciate any help

Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
I haven't verified your content type setting, and this might seem like a really simple question, but have you verified that Excel (.xls) documents open in the web browser on the computer you're testing this on? I also assume you're using MSIE (Firefox doesn't seem to display CSV files in anything other than plain text format).
It is sorta covered in the JavaRanch Style Guide.
subject: Excel in MSIE
Similar Threads
Excel Window problem
opening excel application in browser
Looking for a jquery grid plugin
How to open the MS-Excel file using servlet/struts action class
File download Problem