• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to store images in MySQL DataBase

 
Anand Nuchchi
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Am developing the application to attach the "*.pdf" and "*.gif"
files so that the attachments should be store in the Mysql DataBase.
Actually my idea is to create the application similar to the Rediffmail.com attachments.

SO PLZ give me the instructions so that i can proceed......


thanks & regards
Anand.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35270
383
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anand,
Welcome to JavaRanch!

Since pdfs and gifs are binary data, you would store them as BLOBs (binary large objects) in the database. For more details on JDBC, see the JDBC tutorial.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic