Solved

can't open an excel file in internet explorer

Posted on 2004-09-29
5
333 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JavaScript/Java - Changing an image background color 4 67
jar file executable 12 52
more than one jdk and one jre 1 42
jsp insert to database example 2 24
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)
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

803 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