None of the tips helped me, unfortunately.
A: Your problems are one of two issues:
> 1. Outputting the binary file from the JSP page is getting crud in it
> (like spaces, linefeeds, etc).
> Soulution: servlet
> Outputting binary files from JSPs is a BAD BAD BAD idea.
This is happening earlier than the outputting. This is while modifying
the Workbook. Specifically, the only action that I cannot perform is
inserting rows. I can modify cells (I am modifying a template, not
creating a workbook from scratch) and write the file back out
successfully. It's only when I attempt to insert a row that this fails.
> 2. You're not using a recent nightly build and hence the encoding
> problem is here. Meaning you need
> Solution: specify the file.encoding to be iso-8859-1 via java
> -Dfile.encoding=ISO-8859-1
> Solution: use a recent nightly build
I have tried this with various versions all the way up to last night's
nightly build.
Do you have any other thoughts?
Thanks,
Chris
On Wed, 2003-02-05 at 11:08, Andrew C. Oliver wrote:
> Answer added:
> http://nagoya.apache.org/wiki/apachewiki.cgi?POIProjectPages
>
> Chris McNeilly wrote:
>
> >I'm having a similar problem. When I run it from the command line, in
> >its own JVM, but when I try to use the exact same code from a JSP page
> >(Tomcat), it craps out. I have narrowed it down to the fact that I can
> >modify existing spreadsheets until it comes time to create a row and
> >that fails every time.
> >
> >I've been poking around the net for a couple of weeks and haven't found
> >anybody else (except you) that has been having this problem. Are you
> >saying that you have an app server running on your laptop?
> >
> >Your code sample didn't make it to me. The attachment got dropped. Try
> >pasting the code to the main body of the email.
> >
> >On Wed, 2003-02-05 at 10:48, Chang, Carlos wrote:
> >
> >
> >>All,
> >>
> >>I have a bean (part of an J2EE app) that generates an Excel file just fine
> >>when I run it from laptop (on Win2K pro) , but when I deploy it to our
> >>staging server, running on WebSphere app server 4.x and Solaris 9.x OS, it
> >>doesn't write the file out, can someone tell me what I'm not doing correctly
> >>and how to fix it?
> >>
> >>Attached is the java file (strip down of course):
> >> <<Excel.java>>
> >>
> >>
> >>Thank you,
> >>Carlos Chang
> >>
> >>
> >>
> >>
> >>______________________________________________________________________
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]