Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Rick Reumann
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.

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Szczepan Faber
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

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Laurie Harper
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

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Szczepan Faber
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

RE: gone MAD with servlet / xls download on winXP

2006-01-17 Thread George.Dinwiddie
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

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Ed Griebel
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

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Thomas Joseph
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

gone MAD with servlet / xls download on winXP

2006-01-17 Thread Szczepan Faber
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