David Fisher <dfisher <at> jmlafferty.com> writes:
>
> Dean,
>
> Excel is a very exact and binary format.
>
> You must put out no whitespace from your JSP (I recommend using a
> servlet, but..)
>
> Change the top part to this:
>
> <%@ page language="java"
> %><%@ page
> import
> ="java.util.*,java.io.OutputStream,org.apache.poi.hssf.usermodel.*"
> %><%
>
> And make sure you don't have a trailing blank after the final %>
>
> Regards,
> Dave
David,
Thanks for your response, but after doing what you recommend I still get no
output. View Page Source shows nothing, but when I look at it with Firefox Web
tools it shows
<html>
<head/>
<body>
<pre/>
</body>
</html>
The HSSF docs don't mention using HSSF in a JSP so maybe HSSF is incompatible
with JSPs.
I'm going to take a look at using the Excel XML format and see if that works.
CSV works, but it produces unformatted output.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]