Solved

can't open an excel file in internet explorer

Posted on 2004-09-29
5
323 Views
Last Modified: 2012-06-22
Hi Guys.Could someone help me on this.I've been developing an application that do a report in microsoft excel.Im using the jakarta POI. I also used struts. In my action class, I set the header

response.setContentType("application/vnd.ms-excel").  I tried to access it using Netscape7 and it works fine.But when I access it using ie, it prompts
  " Could not open http://localhost:9999/eqplog/testerInfoExcel.do"
  "Microsoft excel cannot access the following file http://localhost:9999/eqplog/testerInfoExcel.do"


thanks.

raymond
0
Comment
Question by:rdy1437
  • 2
5 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 12177713
Weird... What happens with other browsers (Opera)? Are both IE and Netscape on the same computer and LAN? Check you IE security settigns and see if you notice something weird.
0
 

Author Comment

by:rdy1437
ID: 12177745
Hi girionis!I already check the ie security level and sets it to low level. I'm using ie 6.
It works on netscape, mozilla and opera.
thanks

raymond
0
 
LVL 35

Accepted Solution

by:
girionis earned 250 total points
ID: 12177864
So it is an IE related problem. I suggest two things:

1) Try it on a newer/older version of IE and see if that works
2) Try to install the latest service pack.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now