Re: Excel needs filename?

2003-01-27 Thread neil
Problem: IE not recognizing Excel data generated by cocoon as being an Excel spreadsheet. 1) This is due to a bug in HSSFSerializer.java, where the mime-type is hardcoded as vnd.ms-excel (the correct mime-type for Excel is application/vnd.ms-excel). Once this is fixed it works fine with

RE: Excel needs filename?

2002-04-12 Thread Shaw, Chris
correction: I got it working by adding the following line in my generator: response.setHeader(Content-Disposition, inline; filename=output.xls); ..but having to hard-code a parameter name in my generator as well as my sitemap leads to a potential consistency problem. Any better ideas? TIA

RE: Excel needs filename?

2002-04-12 Thread Vadim Gritsenko
From: Shaw, Chris [mailto:[EMAIL PROTECTED]] correction: I got it working by adding the following line in my generator: response.setHeader(Content-Disposition, inline; filename=output.xls); ..but having to hard-code a parameter name in my generator as well as my sitemap leads to a

Re: Excel needs filename?

2002-04-12 Thread Andrew C. Oliver
This is is a known issue with various versions Internet Explorer. For some reason it ignores the mime type and goes right for the file extension. There are ways around this but none of them are pretty. Bascially you need to try and architect your solution to cause the filename to be