Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

writing to multiple file simultaneously  RSS feed

Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am working on a small application containing few JSP's where i need to upload multiple file(using multipart file upload) at a time and store them in database blob column.
i was trying to get all the uploaded files in a vector, put in a loop and then write to the file one by one. i can write the files and store those into DB. Now, i want to read those blob column in to files which will be programatically created on the server. Files are created on the server and also something is written but i can't open them for read except the last uploaded file which works perfectly in both read and write.
attached here a snippet of code.


Reading from uploaded file:

[Bear edit: fixed improper usage of CODE tags]
[ July 12, 2005: Message edited by: Bear Bibeault ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!