• 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
Sheriff
Posts: 36032
432
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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!