Szczepan Faber wrote the following on 1/17/2006 7:58 AM:
I made nice servlet (Struts action actually) that downloads xls (or
opens - depends what the users chooses).
headers:
response.setHeader("Content-Disposition", "attachment;
filename=report.xls");
response.setContentType("application/vnd.
gt; > Thanks a bunch,
> > Szczepan
> >
> >
> > 2006/1/17, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]
> >> :
> >>
> >> I use a ContentType of "application/excel" and it seems to work
> OK. You
> >> might try that in your enviro
I use a ContentType of "application/excel" and it seems to work OK. You
might try that in your environment.
-Original Message-
From: Szczepan Faber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 17, 2006 7:59 AM
To: user@struts.apache.org
Subject: gone MAD with servlet / xls dow
l" and it seems to work OK. You
> might try that in your environment.
>
> > -Original Message-
> > From: Szczepan Faber [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, January 17, 2006 7:59 AM
> > To: user@struts.apache.org
> > Subject: gone MAD with se
I use a ContentType of "application/excel" and it seems to work OK. You
might try that in your environment.
> -Original Message-
> From: Szczepan Faber [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 17, 2006 7:59 AM
> To: user@struts.apache.org
> Subject: go
I agree, it sounds like a configuration issue on your PC. Have you
tried it on a different PC? Possibly one not set up by the same
Corporate IT department?
-ed
On 1/17/06, Thomas Joseph <[EMAIL PROTECTED]> wrote:
> Try any/all of these:
> 1. WinXP + Firefox.
> 2. reinstalling Excel
> 3. save file
Try any/all of these:
1. WinXP + Firefox.
2. reinstalling Excel
3. save file and open
>
> Note that everything works on IE 6.0 (or firefox) in win2k (so I
> decided not to post any code samples) but opening file fails on IE 6.0
> in winXP
>
> What is wrong then?
>
> I tried plethora of differen
Hi,
I made nice servlet (Struts action actually) that downloads xls (or
opens - depends what the users chooses).
headers:
response.setHeader("Content-Disposition", "attachment;
filename=report.xls");
response.setContentType("application/vnd.ms-excel");
works on win2k perfectly. I click a downlo
8 matches
Mail list logo