Hi Matt, how does it work if you use a meta tag direct in html?
<meta http-equiv="content-type" content="application/vnd.ms-excel" />
On 09/11/2003 07:54 PM Sgarlata Matt wrote:
I'm having trouble using the <%@ page contentType="" %> directive and container-based authentication. Here is a toy example that works great without container-based authentication but does not work with c.b.a. enabled:
<%@ page contentType="application/vnd.ms-excel" %> <% response.setHeader("Content-disposition", "inline; filename=\"myreport.xls\""); %> hello
The desired behavior is that the text "hello" displays in Excel. Has anyone ever run into a problem like this before? I am using tomcat 4.1.27, and Tomcat's built-in DataSourceRealm (which has been working for me fine).
Thanks,
Matt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]