• Post Reply Bookmark Topic Watch Topic
  • New Topic

String to FileUpload Object?  RSS feed

 
Rohit Malhotra
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am writing an Application which allows files to be uploaded ,checked in

and checked out of the Applciation . I am using Apaches FileUpload Class

for hte upload Functionality.

I am maintaining a backup of the files by converting the file data

into String and storing ti in CLOB datatype in the Database.

Now wehn the Application starts, i am using Context listners to intialize

the application with the data of the file from the DATABASe.

Can anyone please let me know how can i construct an FileUpload object

using the String data from the Database? Thanking in advance,

Regards.
Rohit
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think that's possible. FileUpload concerns itself with receiving files over an HTTP connection, not with creating them from memory or disk.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!