Thanks. I have solved the problem. I was calling a BufferReaeder.readLine() method 
earlier before
loading the InputStream in the database.

Cheers!!!

-----Ursprungliche Nachricht-----
Von: Jones, Marty B. [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 1. August 2003 13:10
An: Struts Users Mailing List
Betreff: RE: Strange Problem saving and retrieving file


Are you using a input stream to load the file in the database?  If so make
sure that you flush the stream and close it.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 4:59 AM
To: [EMAIL PROTECTED]
Subject: Strange Problem saving and retrieving file



In my struts application I save a text file in an oracle database.
Whenever I retrieve the file from the database, it is always 8kb smaller.
Has any one of you ever experienced this problem?

Sam

---------------------------------------------------------------------
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]

Reply via email to