hi,
this does work if you make sure to not have *any* dangling whitespace:
do *not* use
<%@ page import="wt.fc…%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ page contentType="application/xls" %>
…
rather use
<%@ page import="wt.fc…%><%@
page trimDirectiveWhitespaces="true" %><%@
page contentType="application/xls" %><%
… code here ...
if(true)return; // else we send the newline below 😉
%>
hth, martin