Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem regarding excel display through servlets in IE 5.0/5.5/6.0.

Status
Not open for further replies.

omi123

Technical User
Mar 10, 2003
2
IN
The excel file opens with the help of servlet.It works fine with IE 4.0 but it fails to open in IE 5.0 /5.5/6.0 and pops up with the window saying -

what would you like to do with this file-
1. open this file from currrent location.
2. Save this file to disk.

what could be done to avoid this when MIME-TYPE is already set.

Any help will be appreciated.
Thanks.
==========================
 
Are you setting the response type so the browser knows its an Excel file?

response.setContentType("application/vnd.ms-excel");
"When you have eliminated the impossible, whatever remains, however
improbable, must be the truth." ~ Arthur Conan Doyle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top