I had a problem downloading excel files, I don't know if it is the
same problem.
My solution was to change the Cache-Control
Cache-Control: no-store
to
Cache-Control: revalidate
or
Cache-Control: must-revalidate
I don' t remember very well
At 20:37 13/12/2005, you wrote:
Nick,
I used IE Watch in IE and got:
Request Headers
GET /servlet/com.rminet.util.ExcelReport?reportEnvmt=actionitems HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*
Referer: http://localhost:11001/ActionItemsMaint.jsp
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
.NET CLR 1.1.4322; .NET CLR 1.0.3705)
Host: localhost:11001
Connection: Keep-Alive
Cookie: JSESSIONID=43lds33e57d0k;
CStoneSessionID=QrsnhygYbnqre6189d008!1082551d9c0!-786e
Response Headers
HTTP/1.1 200 OK
Date: Tue, 13 Dec 2005 19:28:43 GMT
Server: Jetty/4.2.23 (Windows XP/5.1 x86 java/1.5.0_02)
Pragma: no-cache
Cache-Control: no-store
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-disposition: attachment; filename=actionitems.xls
Content-Type: application/vnd.ms-excel
Content-Length: 89088
It looks clean to me. To you?
Dick
Nick Burch wrote:
On Tue, 13 Dec 2005, Dick Hildreth wrote:
It still works fine in gecko browsers and it still fails in
IE. Same IE error: File: actionitems.xls, Unknown File Type, 87.0
KB, and the File does not exist. The filename is correct.
Can you check exactly what headers are getting sent? (Live HTTP
headers in mozilla/firefox, or tcpdump/ethereal)
I've had problems in the past with Tomcat where I set the content
type, forwarded to another page, and tomcat somehow forgot the
content type. I ended up having to set it twice.
So, if you can check your headers, you might just spot something
wrong with them that you can fix with a big stick
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/