• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

String to FileUpload Object?

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic