Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jspsmartupload and download file  RSS feed

 
Chen-Chien HUNG
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I tried jspsmartupload for downloading files stock in the database. I just use the same code of the sample, but I always got the error message "java.lang.NullPointerException" if I use the "mySmartUpload.downloadField(....)". And if I use the "mySmartUpload.fieldToFile(...)" I got the error "javax.servlet.ServletException : Unable to save file from the DataBase".
I don't know how to fix it.
Can anyone help me use jspsmartupload for downloading the files from database?
Thanks a lot
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!