My problem is in the content type. On the element code, I do: response.setHeader(contentType, "Content-Type");
Where exactly are you doing this? You mention have a component with another component in it that sets the content type. But if you're sending an xls back, that needs to come from a component that is ONLY sending back XLS for the entire page. Just clarifying ... You can't have like HTML components at the top and then some XLS in the middle. Incidentally, I use:

response.setHeader("application/pdf; name=\"" + filename + "\"", "Content-Type"); response.setHeader("attachment; filename=\"" + filename + "\"", "Content-Disposition");

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to