Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes i cannot download file problem with IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

i cannot download file problem with IE

kkalyan kkumar

Joined: Jul 23, 2008
Posts: 12

I did a functionality which allows the user to download an excel sheet which contains the records in the database. When I press DOWNLOAD button in mozilla firefox it works correctly by downloading the excel file (filename.xls).
I'm using the following code:


But when i press DOWNLOAD button in Internet Explorer6.0 i am unable to download the excel file. It shows filename_html instead of filename.xls

help me please, Thanks in advance
Joanne Neal

Joined: Aug 05, 2005
Posts: 3419
Don't post the same question multiple times

Don't get me started about those stupid light bulbs.
subject: i cannot download file problem with IE
Similar Threads
problem with downloading XLS file
alternate way for setHeader
Changing the way IE launches files (Word, Excel, etc.)
File size restriction in struts managed download
Need help c JList & File opening