This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to upload image to the server and store it into DB?

 
mocca az
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings!
How to upload image to the server and store it into DB? Example would be great. If anyone can point me to any direction, it would be greatly appreciated.
m,phx
 
Robert Brunner
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by mocca az:
Greetings!
How to upload image to the server and store it into DB? Example would be great. If anyone can point me to any direction, it would be greatly appreciated.
m,phx

Use HTML POST to upload the data, and then store the data in a BLOB using JDBC. Details become database specific, try the JDBC forum if you can provide more information.
 
Vlad Patryshev
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically, you will have to upload it as a file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic