><cfheader name="content-length" value="#ArrayLen(ExcelByteData)#"/>
><cfheader name="content-disposition" value="attachment; filename=#xls_file#"
> ..
>Obviously this is because 6 doesn't have this attribute.

Assuming you do not wish to write the bytes to disk, you could write to the 
response outputstream. Here is an example. It uses batik, but it is the same 
idea.  
http://www.barneyb.com/barneyblog/2006/05/04/more-batik-goodness/


>Any better ideas on how to display this?  Ideally, if someone knows how to
>cause it to just display in the browser

Try value="inline; ..." instead of attachment. That should work, if the browser 
is configured to open excel files.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302318
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to