Saving Files to Local Hard Disk + Saving Additional Data to Database.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, March 16, 2004 02:38 AM

Hi all,

I've made an application that saves uploaded files to the hard disk and saves additional data about the file in a database.

This is mainly done by a Struts-controller: saving to hard disk and by a Business Delegate, Session Facaede, EJB's the addition data is saved in de database.

My question is: how can i be sure that both action are done?

It is possible that only the file is saved to hard disk and the additional data not stored in the database opr visa versa.

Someone who can help?

Thanks,

Roul

Re: Saving Files to Local Hard Disk + Saving Additional Data to Database.

Posted By:   Christopher_Koenigsberg  
Posted On:   Sunday, March 21, 2004 08:24 PM

The only way I know of, to be absolutely sure that something got stored or written, is to try reading it back.

About | Sitemap | Contact