That's just it. We HAVE upgraded to Struts 1.0 final. This fixed a problem
we were having with ZIP files but now it seems we can't view spreadsheets
and documents that are successfully uploaded. In other words, they do upload
fine, but when you try and view them, Excel can't open them up.

- Darryl

-----Original Message-----
From: Krueger, Jeff [mailto:[EMAIL PROTECTED]]
Sent: 26 June 2001 13:22
To: [EMAIL PROTECTED]
Subject: RE: File Upload Problem


I just got done fighting this problem for the last week.  Upgrade to struts
1.0 and that will solve your problem.

Jeff Krueger


-----Original Message-----
From: Darryl Pentz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 4:38 AM
To: [EMAIL PROTECTED]
Subject: File Upload Problem


Hi all,

Has anyone else experienced problems with the file upload lately? I'm
finding that uploaded files are being corrupted. It doesn't seem to matter
what type the document is. I've found an Excel spreadsheet and a Word
document that have displayed problems. It seems, doing a binary compare,
that a 0A is being inserted arbitrarily. I'm looking at
MultipartIterator.java as the possible culprit as that's where a 0A ('\n')
is being inserted.

If anyone can point out the error of my ways I'd appreciate it. I don't know
why we're only finding this problem now since we've been testing uploads
regularly. Unless it has to do with the fixes in 1.0 final that maybe broke
something. I'm a little out of my depth here since I'm still fairly new to
the intricacies of Struts.

thanks,
Darryl

Reply via email to