Author
inserting passport image into database
Joe Don
Greenhorn
Joined: Jun 01, 2012
Posts: 9
posted Jun 03, 2012 17:53:14
0
Hi, i am a beginner in programming and use the netBeans IDE. I have a java form which is sucessfully connected to database. How can user enter passport image into the database? My database is MySQL-oriented. Please, assist me. Thanks.
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
posted Jun 03, 2012 18:17:46
0
There is a database type called BLOB. You can use JDBC to insert a BLOB/binary stream of the image.
[Blog ] [JavaRanch FAQ ] [How To Ask Questions The Smart Way ] [Book Promos ]
Blogging on Certs: SCEA Part 1 , Part 2 & 3 , Core Spring 3 , OCAJP , OCPJP beta , TOGAF part 1 and part 2
Wendy Gibbons
Bartender
Joined: Oct 21, 2008
Posts: 1098
posted Jun 06, 2012 03:03:45
0
here is a link to your other thread which has the same question.
http://www.coderanch.com/t/582934/Servlets/java/add-passport-image-form
subject: inserting passport image into database