Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to store images in MySQL DataBase  RSS feed

 
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: 37384
531
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
Boost this thread!